-
Notifications
You must be signed in to change notification settings - Fork 124
[Fleet] Enable experimental toggles in Fleet UI from Kibana config #1108
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
[Fleet] Enable experimental toggles in Fleet UI from Kibana config #1108
Conversation
Pinging @elastic/fleet (Team:Fleet) |
💔 Build Failed
Expand to view the summary
Build stats
Test stats 🧪
Steps errors
Expand to view the steps failures
|
🌐 Coverage report
|
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.
LGTM
Co-authored-by: Nicolas Ruflin <[email protected]>
Failures in CI seem related to this change, should this setting be applied only for versions >= 8.7? (We don't have an easy way to do it).
|
Yes, this option is only available in 8.7+. Due to the nature of Kibana's config validator, the setting will result in an invalid config for older versions. |
I don't think so. Can these flags be changed on runtime through the API? |
Kibana supports setting configs via env vars in the Docker images: https://www.elastic.co/guide/en/kibana/current/docker.html#environment-variable-config Probably something like I think this isn't automatic though, so there might be some Docker entrypoint script that needs to be updated for the image to support this. Kibana operations team would be the one to ask. |
As a manual workaround what I did for now is add |
Ah found it, think we'd have to add the configs here: https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker#L277 |
@jsoriano Unfortunately no. |
Can we get this moving? Most of these flags were introduced so we can test it with packages. Not having it available in elastic-package is problematic as this is where most of us tests packages. |
Let me take a quick look to adding a new config file for Kibana 8.7. |
Change merged as part of #1128, closing this one. |
@jsoriano Thanks! |
Enable the experimental data stream toggles (synthetic source, TSDB, doc-values-only) in Fleet's policy editor by toggling a feature flag in the Kibana config used for launching the local Kibana instance.
Ref elastic/kibana#148418
Ref elastic/kibana#148317
Not sure if this should also be turned on in the other Kibana config files:
kibana_config_8x.yml
kibana_config_80.yml
If they should be edited too, let me know and I'll happily make the changes.