-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 Enrich Statistics to Elasticsearch Input Plugin #15685
Comments
Should this be captured only on the master node or all nodes? I have put up #15688 which creates two new measurements to capture the above data, currently from every node. Let me know if this is what you expect and in 20-30mins after this message please download the artifacts and try them out. Thanks! |
I think it can be captured on Master only: this API returns statistics for all coordinator nodes in the cluster, so getting them from the master is enough. |
I tested the build, but I get an error whenever I set
Unfortunately, I m not able to obtain the URL that Telegraf is trying to query, so I looked into the code.
Here, telegraf calls |
Thank you very much for trying this out. I have pushed an update and new artifacts will be available in 20-30mins. Can you give the new set a try please. Thanks again! |
I realized now I replied to the Pull Request. now it works. Thanks for the development :) |
Use Case
I need to get statistics about how Elasticsearch Enrichment is performing. This can be done through the Enrich Stats API.
These statics can ne gathered at Cluster level, and are per each Coordinator Node.
Expected behavior
Here an example of API Call (which is pretty simple, since no arguments are requested), and an example of the answer.
GET /_enrich/_stats
I am expecting to have statistics from
coordinator_stats
andcache_stats
into two dedicated measures in InfluxDB. Maybe,node_id
should be correctly linked to each node name.Actual behavior
None of this is done
Additional info
Answer from Enrich stats API is well described at https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html#enrich-stats-api-response-body. Contents from
executing_policies
should be ignored.The text was updated successfully, but these errors were encountered: