-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Beats central monitoring Phase 1 #3422
Comments
As reference, here is the old issue where this all started: #463 |
Would the default value be
I'm not 100% sure what happens when you have the collection period that is different from the ES monitoring collection interval. But reading from the doc, my gut feeling is that whatever ES's collection interval is - should be applied in other products, such as Kibana Monitoring collection interval. I'm guessing it would be the same for Beats, but it'd be a good idea to confirm. |
I don't think we should have this restriction (that all collection intervals are equal). I also don't know how we can even enforce it. Different systems may need different intervals, and the monitoring UI should deal with that. |
It would be extremely nice to simply have one more commandline option to turn on only expvar variables, rather than the |
Hi, Any progress on this ? Is there a way to export this as json and not send everything to elasticsearch ? Thank you! |
+1 for a progress update.
+1 It would also be very nice to support outputs other than elasticsearch. Ideally any of the already supported outputs (eg. Kafka, Redis, Logstash, etc.) would work:
Thanks! |
Unfortunately, we didn't do much progress here. We are planning to store all the monitoring data to Elasticsearch only. In the first version, we are sending the monitoring data to Elasticsearch, but we are considering sending the data to other supported outputs in the future. |
For kafka it would be nice to send to different topic that can be defined under monitoring struct. We 're heavily scaling filebeat in our infra(18k+) and none of them ships directly to elastic. |
I'd love it if Beats followed the same model as Logstash and simply exposed a local metrics endpoint. We're struggling with writing robust monitoring for filebeat, as it's very much a "black box" when it comes to state. I'm not sure an Elasticsearch metrics integration would help all that much. Beats logfiles are not geared towards getting to the "current state" of the beat (eg. "is the beat able to ship data to logstash right now?") Enabling a local metrics endpoint ala logstash and expose items such as "queued events" "percent number of dead/alive shipper targets" so that we could pick up that info locally using a monitoring tool/agent such as prometheus or Datadog would be of much higher value to us than getting it in Elasticsearch. |
@trondhindenes An experimental http endpoint is added in Beats 6.2. See #3717 |
Awesome! |
We can consider phase 1 completed. |
When you deploy a large number of Beats, it becomes challenging to monitor the Beats itself.
A solution would be for the Beats to report health status to a collection point, such as Elasticsearch, and visualize it with Kibana.
The following health metrics should be sent to Elasticsearch:
Each Beat exports more metrics via expvar, but it should send only a subset of these metrics to Elasticsearch.
By default, the health metrics are sent directly to the Elasticsearch cluster configured in the
outputs.elasticsearch
, but you can also configure an extra Elasticsearch cluster to send the monitoring data to.TODO:
Configuration:
UPDATE: The CPU usage is exported under different fields. See #3422
cc-ed @bohyun-e @brandonmensing
The text was updated successfully, but these errors were encountered: