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

Prepare elastic/logs track for the new logs index mode. #612

Merged

Conversation

martijnvg
Copy link
Member

@martijnvg martijnvg commented May 22, 2024

By replacing index_sorting and synthetic_source_mode parameters (added via #522) by the index_mode parameter.

Closes elastic/elasticsearch#107222

By replacing index_sorting and synthetic_source_mode parameters by index_mode parameter.
@martijnvg martijnvg force-pushed the prepare_elastic-logs_for_logs_index_mode branch from ae727d2 to 7df7429 Compare May 31, 2024 13:57
@martijnvg
Copy link
Member Author

Note that I successfully ran esbench with elastic/logs track using the changes in this PR.

"index": {
{% if index_sorting == "hostname" %}
"mode": {{ index_mode | tojson }},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if there is any missing value for the hostname...just in case maybe we could add also index.sort.missing?

@salvatore-campagna
Copy link
Contributor

LGTM...I just left a minor comment.

@martijnvg martijnvg merged commit a71ef11 into elastic:master Jun 4, 2024
13 checks passed
gareth-ellis pushed a commit that referenced this pull request Jun 5, 2024
By replacing index_sorting and synthetic_source_mode parameters by index_mode parameter.

(cherry picked from commit a71ef11)
@gareth-ellis
Copy link
Member

💚 All backports created successfully

Status Branch Result
8.13

Questions ?

Please refer to the Backport tool documentation

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

Successfully merging this pull request may close these issues.

Update Rally logs track to use new logs index mode
3 participants