-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Optimized index sorting for OTel logs #119504
Optimized index sorting for OTel logs #119504
Conversation
Pinging @elastic/es-data-management (Team:Data Management) |
Hi @felixbarny, I've created a changelog YAML for you. |
x-pack/plugin/otel-data/src/main/resources/component-templates/[email protected]
Outdated
Show resolved
Hide resolved
…IT.testLogsAtSettingWithTimeSeriesOverride I don't really get why you would want to set index.mode: time_series in logs@custom but these sort settings aren't compatible with tsdb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment LGTM otherwise.
x-pack/plugin/otel-data/src/main/resources/component-templates/[email protected]
Outdated
Show resolved
Hide resolved
pr: 119504 | ||
summary: Optimized index sorting for OTel logs | ||
area: Data streams | ||
type: enhancement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this is a bug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I didn't think of this as a bug. Is it because we're sorting the timestamp in ascending order right now? What's the consequence of that from a user's perspective?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe certain queries that filter on timestamp will now slightly perform better. But that isn't a really a bug, so let's leave this as an enhancement.
(cherry picked from commit afda404)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
See https://github.com/elastic/elasticsearch/pull/118968/files/680a023e3fefe0d79affdcc81a0f7e146b1c847e#r1899527289