-
Notifications
You must be signed in to change notification settings - Fork 116
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 flag to enable logsdb mode in logs data streams #1939
Conversation
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.
I did a manual test and the flag works as expected.
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.
👍
…applies to the data stream
As discussed internally, we need to disable validation for normalized fields when logsdb is used, because it is going to use synthetic mode. In fd68bfc I have refactored our detection of synthetics mode to be based on the simulated index template for the data stream, instead of using the component template provided by the package. |
💚 Build Succeeded
History
cc @jsoriano |
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.
👍
Checked that it reports what it is expected in two different packages:
- (synthetic test package) synthetic enabled: https://buildkite.com/elastic/elastic-package/builds/3541#0190779f-4c8b-4063-8999-f4b5c3ba512d/193-2385
- (nginx test package) synthetic disabled: https://buildkite.com/elastic/elastic-package/builds/3541#0190779f-4cae-43dd-aa64-cdb512a97132/195-855
Add a new profile parameter,
stack.logsdb_enabled
, to enable the feature flag that enables the logs index mode in all logs data streams (elastic/elasticsearch#108762), in stacks that support it.This can be tested now with the 8.15 snapshots, for example:
Closes #1842.