# Getting doc\_count for each type under each index in a cluster

**URL:** https://discuss.elastic.co/t/getting-doc-count-for-each-type-under-each-index-in-a-cluster/344987
**Category:** Elasticsearch
**Created:** [October 13, 2023, 10:39am UTC](https://discuss.elastic.co/t/getting-doc-count-for-each-type-under-each-index-in-a-cluster/344987 "2023-10-13T10:39:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Darshan\_J](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshan_j/32/119447_2.png) [@Darshan\_J](https://discuss.elastic.co/u/Darshan_J)
#### Post date: [October 13, 2023, 10:39am UTC](https://discuss.elastic.co/t/getting-doc-count-for-each-type-under-each-index-in-a-cluster/344987/1 "2023-10-13T10:39:19Z")

</div>

Im using ES 5.6. Is there a way to get doc\_count of each type in each indices in a ES cluster.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 10, 2023, 10:39am UTC](https://discuss.elastic.co/t/getting-doc-count-for-each-type-under-each-index-in-a-cluster/344987/2 "2023-11-10T10:39:45Z")

</div>

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