-
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
[Metricbeat] Elasticsearch enrichment stats API #14221
Comments
@cachedout I have a few questions after looking at the response from the Enrich Stats API:
|
Hi @ycombinator. These are good questions.
After playing around with this a bit and reading this PR it appears to me that
This is indeed curious, especially in light of this comment in the PR:
This appears to me as though what's happening is that a single document is being written by the collector for each node, and that document includes the node id. However, again, I think it's best to clarify this with the ES team and see what @jakelandis and @martijnvg have to say.
I'm not sure I fully understand this question. Are you talking about the shape of the document or the contents? |
The contents. Basically, are the contents expected to vary based on which node the API call is made against (e.g. like the I'm reasonably sure it's the latter but I want to confirm as it affects the implementation a bit. |
Thanks for the clarification. Makes sense. I agree that what you've described is the most likely scenario but I definitely think it's wise to wait for a definitive answer from the ES team on this and the other two questions. |
One more question: I see that the Enrich Stats API doc is labeled as "X-Pack". Exactly what license levels is this API available at? Metricbeat will only attempt to call the API if it is expected to exist at the monitored Elasticsearch cluster's license level. |
Mostly correct, it will not be indexed unless there are running policies, and the running policies can be seen through GET _enrich/_stats. (ES doesn't internally call that API but if it did the result would be the same)
I believe that is correct. One document per node. I think the map->list is in reference to the change to the _stats endpoint which is not called for monitoring. @martijnvg may be able to confirm.
Basic - we are working on getting it added to the matrix. |
Thanks for the answers, @jakelandis. We also chatted off-issue about:
Jake said:
|
Describe the enhancement:
Elasticsearch has recently added a new set of monitoring metrics to track metrics around enrichment policies.
Documents collected via monitoring internal collection from this new API are shaped as follows:
This issue is to discuss the possible addition of these new metrics to Metricbeat collection. Currently, the monitoring parity tests fail as a result of a divergence between internal collection and Metricbeat collection as a result of this change by the Elasticsearch project.
The text was updated successfully, but these errors were encountered: