Visualization for _stats query

Hi all,

I need to build a visualization/dashboard (maybe a simple bar graph) with applicational indexes total size (total.store.size).

By now, I'm getting it from Kibana dev console, using 'GET index/_stats?level=cluster&human=true&filter_path=**.total.store.size',

Can someone point any doc(s) where I can find info about it?

Thank you.

Visualizations are created from indexed data, but you want to render results from an Elasticsearch API so I'm afraid there is not a direct way to do this. You would need to set up a separate process to collect those stats, and insert them on a regular index.

Hi @mcosta,

Please consider using Stack Monitoring page instead as it provides a lot of cluster metrics Elasticsearch Monitoring Metrics | Kibana Guide [8.7] | Elastic

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.