Skip to content
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

elasticsearch.node.stats.indices.shard_stats.total_count missing in ES monitoring template #114470

Open
renshuki opened this issue Oct 10, 2024 · 3 comments · May be fixed by #114472
Open

elasticsearch.node.stats.indices.shard_stats.total_count missing in ES monitoring template #114470

renshuki opened this issue Oct 10, 2024 · 3 comments · May be fixed by #114472
Labels
:Data Management/Stats Statistics tracking and retrieval APIs >enhancement Team:Data Management Meta label for data/management team Team:Stack Monitoring

Comments

@renshuki
Copy link
Contributor

Description

The elasticsearch.node.stats.indices.shard_stats.total_count is missing in the monitoring-es-mb.json template.
It was originally added added to the Elasticsearch module (Beats) via elastic/beats#38891.

I can see there was this PR (#107471) and the ES side to add the field to the monitor mappings. However, I can see it was added as cluster_stats.indices.shards_stats.total_count, not elasticsearch.node.stats.indices.shard_stats.total_count. Is it a mistake?

I don't see this field being used anywhere in the monitoring data.

Nonetheless elasticsearch.node.stats.indices.shard_stats.total_count need to be added so it can be used to create some alerts (i.e. Kibana Alerting).

@renshuki renshuki added >enhancement needs:triage Requires assignment of a team area label labels Oct 10, 2024
@consulthys
Copy link
Contributor

I can see there was this PR (#107471) and the ES side to add the field to the monitor mappings. However, I can see it was added as cluster_stats.indices.shards_stats.total_count, not elasticsearch.node.stats.indices.shard_stats.total_count. Is it a mistake?

@philippkahr I guess this question is for you, would you mind providing some context on it?

@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Oct 10, 2024
@renshuki
Copy link
Contributor Author

renshuki commented Oct 10, 2024

Metricbeat - Exported fields - Elasticsearch Fields for reference, where elasticsearch.node.stats.indices.shard_stats.total_count is in the list. cluster_stats.indices.shards_stats.total_count is not present.

@henningandersen henningandersen added the :Data Management/Stats Statistics tracking and retrieval APIs label Oct 10, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Oct 10, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Stats Statistics tracking and retrieval APIs >enhancement Team:Data Management Meta label for data/management team Team:Stack Monitoring
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants