Skip to content
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

Add a parameter to customize index names created by workloads #422

Closed
okhasawn opened this issue Dec 6, 2023 · 2 comments
Closed

Add a parameter to customize index names created by workloads #422

okhasawn opened this issue Dec 6, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@okhasawn
Copy link

okhasawn commented Dec 6, 2023

Is your feature request related to a problem? Please describe.

I'm working on creating a test script that can be run in parallel by multiple processes against the same cluster, that test would run Opensearch Benchmark as part of an integration test, a way to uniquely identify or customize the index's names created by Opensearch Benchmark Workload would greatly help for better logging and to avoid any conflicts, therefore creating more optimized and helpful integration tests.

Describe the solution you'd like

Adding a parameter where I can specify the index name that would be created.

e.g opensearch-benchmark execute-test --target-host=$endpoint --workload=geonames --rename-indices="geonames$ID

Describe alternatives you've considered

Dynamically changing the index within a specific workload files to add a unique ID.

@okhasawn okhasawn added the enhancement New feature or request label Dec 6, 2023
@IanHoang IanHoang removed the untriaged label Dec 7, 2023
@IanHoang
Copy link
Collaborator

IanHoang commented Dec 7, 2023

Hi @okhasawn, we might not need to add any of additional parameters. Users would just need to specify the index name to change in --workload-params. To support this change quickly, changes would need to be made in the workloads repository, specifically adding jinja parameters in workload.json, for all workloads.

Keep in mind, this might also be more lengthy for workloads like http_logs where there are 8 indices that get created. Feel free to contribute this enhancement and we can review the PR so that it can be added into a future release.

@IanHoang
Copy link
Collaborator

Closing since no activity since December 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants