# Index stat dashboard

**URL:** <https://discuss.elastic.co/t/index-stat-dashboard/370778>\
**Category:** APM\
**Tags:** elastic-stack-monitoring, server\
**Created:** [November 19, 2024, 4:02pm UTC](https://discuss.elastic.co/t/index-stat-dashboard/370778 "2024-11-19T16:02:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rezgui](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rezgui/32/139332_2.png) [@rezgui](https://discuss.elastic.co/u/rezgui)\
**Post date:** [November 19, 2024, 4:02pm UTC](https://discuss.elastic.co/t/index-stat-dashboard/370778/1 "2024-11-19T16:02:48Z")

</div>

hello  
i need to know how create a dashboard for Index stats in Stack Monitoring to show the name of index , size, number of shards and the number oh segments.  
i saw these dashboard

> <https://github.com/elastic/elasticsearch/issues/98289>
>
> \### Description
> 
> Index stats are used in Stack Monitoring to show the name, si…ze, number of shards etc for the indices in a cluster. When data streams are used, there is often a large number of backing indices with similar names. This is cumbersome: 
> 
> \<img width="980" alt="image" src="https://github.com/elastic/elasticsearch/assets/110836770/3699a6ed-6a65-4a98-8b31-14b8bbe8e2fd"\>
> 
> As a user evaluating the size of your data streams, you would want to see a list of data streams with their stats. 
> 
> \<img width="618" alt="image" src="https://github.com/elastic/elasticsearch/assets/110836770/688340ec-cf65-4d67-a7bf-146a5f2332a7"\>
> 
> There is no way to visualize that directly in Kibana today. Instead, you would have to use Watcher or ingest pipelines or some other extra processing to join together index stats with data stream info. 
> 
> To facilitate creating more useful stack monitoring and volume monitoring dashboards we should make it possible to get index stats per data stream
> \- most important: the size in bytes (primaries and total)
> \- there may be other stats which would be useful
> 
> Ideally, it would be nice to have the same stats for data streams and 'regular indices' in one data set so that graphs like those above could show all data sets, and for data streams only show the data streams. Example: A cluster contains indices ri1, ri2, and data stream ds1 with backing indices .ds-ds1-2023.08.08-00001 and .ds-ds1-2023.08.08-00002. In the graph we would want to show: 
> ri1
> ri2
> ds1

but i dont know i created

thanks

---

<div class="post-metadata">

**Author:** ![Kostya\_Masliuk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kostya_masliuk/32/137867_2.png) [@Kostya\_Masliuk](https://discuss.elastic.co/u/Kostya_Masliuk)\
**Post date:** [November 20, 2024, 1:26am UTC](https://discuss.elastic.co/t/index-stat-dashboard/370778/2 "2024-11-20T01:26:55Z")

</div>

Hello @rezgui, if you're referring to [Elasticsearch indices section](https://www.elastic.co/guide/en/kibana/current/elasticsearch-metrics.html#indices-overview-page) of the Stack Monitoring UI. You should be able to configure it by following this [guide](https://www.elastic.co/guide/en/elasticsearch/reference/8.16/monitor-elasticsearch-cluster.html). When configured, the default dashboard should already provide you with the stats you're looking for.
