-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Bundle Metricbeat with Elasticsearch #49399
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Packaging) |
Pinging @elastic/es-core-features (:Core/Features/Monitoring) |
Hi @jasontedor. Thanks for filing this. Given that Stack Monitoring can also consume ES logs, do you think it would be worth discussing whether or not to also bundle Filebeat in addition to Metricbeat? It is not required for the monitoring application to function, but provides additional functionality on top of the default metrics. Thoughts? |
@jasontedor Does this mean enabling and disabling the bundled Metricbeat be a dynamic setting or will it potentially require a reboot of Elasticsearch? |
It will be a restart of Elasticsearch. Elasticsearch can't fork a native process after startup is complete, by the security manager, and by our seccomp policy and we are never going to relax that. |
Thanks, is the corollary then that Elasticsearch will exit if Metricbeat exits so that both processes may be rebooted? |
@beiske That seems too harsh to me. I think that should be orchestrated externally. |
@jasontedor I agree, but just asking to understand the division of responsibilities. Will the user then have to detect such a failure and handle it or will Elasticsearch bundle an init process that acts as a watchdog for both? Will that perhaps depend on the package? Linux distroes have an init process, but docker images don't unless they run multiple processes. I guess we would want a similar experience for the zip package also. |
Hi @jasontedor Did you see my question about Filebeat above? :) I would also like to ask if you've considered possibly doing this bundling prior to 8.0 to ease the story for people who are ready to migrate? For example, in this issue @jakelandis mentions that we might want to do this prior to introducing a deprecation warning but I wanted to see what you think. Thanks! |
@cachedout I think that Filebeat needs to be considered separately and presents some interesting challenges. I think that we can integrate Metricbeat in before 8.0. |
@beiske I think we can expose in Elasticsearch if the Metricbeat process has died. I think the experience would be the same for all the packages. |
I'm not clear whether it's necessary for Metricbeat, but FYI #50277 will introduce the |
I'm closing this since there's doubt at this time that we're going to move forward with this. We can re-open if plans resurface. |
For the 8.0.0 release of Elasticsearch, we are aiming to remove monitoring internal collectors/exporters (#47214, #47215). While Metricbeat can now monitor Elasticsearch, the removal of internal collection leaves our users in a position where they have to take extra steps to do such monitoring via Metricbeat. We want to keep the experience of monitoring Elasticsearch simple. To that end, we are aiming to bundle Metricbeat with Elasticsearch and have its lifecycle managed by Elasticsearch. This saves the user from having to install Metricbeat, and also manage its lifecycle.
The text was updated successfully, but these errors were encountered: