-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow an option to build a custom workload from hidden/datastream indices #420
Comments
Hello, @rishabh6788 @IanHoang @gkamat, would you please have a look and give your comments? thanks !! |
I think the check is in there to make sure user doesn't include system/security indices by mistake while generating workloads using OSB. |
What @rishabh6788 mentioned above is a good and quick workaround. We can look at adding this as a flag, such as |
Hi folks, thanks for the prompt replies. 😄 Yep, I've been using that workaround suggested, but yep, having it as an actual cli option would be much more convenient. If you're ok for me to submit a PR with that change I'd be happy to - I'll see if I can get it done later today. In fact, @IanHoang would something like |
@dazoakley Apologies for the late response! Either Once again, if you cut a quick fix for this, we can quickly address the PR. Thank you for your patience. |
Is your feature request related to a problem? Please describe.
In our opensearch cluster we use datastreams to handle index rotation when they hit certain thresholds. We'd like to create some custom benchmarking workloads based off our indices, but we can't as the indices for datastreams are "hidden" and not picked up by the
create-workload
command - they begin with.ds-
.This seems to be the offending line in the code: https://github.com/opensearch-project/opensearch-benchmark/blob/main/osbenchmark/workload_generator/index.py#L63
Describe the solution you'd like
We would like an option on the
create-workload
command to be able to include hidden indices (or even just "datastream" indices) within a custom workload.The text was updated successfully, but these errors were encountered: