# Index Type Stats

**URL:** https://discuss.elastic.co/t/index-type-stats/62525
**Category:** Elasticsearch
**Created:** [October 7, 2016, 6:48pm UTC](https://discuss.elastic.co/t/index-type-stats/62525 "2016-10-07T18:48:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lee891031](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@lee891031](https://discuss.elastic.co/u/lee891031)
#### Post date: [October 7, 2016, 6:48pm UTC](https://discuss.elastic.co/t/index-type-stats/62525/1 "2016-10-07T18:48:41Z")

</div>

Hi,

I am wondering if I can get some stats on a type level using NEST/ElasticSearch.Net or simply using ElasticSearch REST API?  
We are using ES 2.3.2 and we need get type level stats to do some analysis.

Thanks,

Yifei

---

<div class="post-metadata">

### Author: ![abeyad](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@abeyad](https://discuss.elastic.co/u/abeyad)
#### Post date: [October 7, 2016, 7:16pm UTC](https://discuss.elastic.co/t/index-type-stats/62525/2 "2016-10-07T19:16:14Z")

</div>

Hello,

By `type` do you mean index types? If so, you can run the \_stats command on your index with the given types as filters, like:

`curl -XGET 'localhost:9200/my_index/_stats?types=type1,type2`

---

<div class="post-metadata">

### Author: ![lee891031](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@lee891031](https://discuss.elastic.co/u/lee891031)
#### Post date: [October 11, 2016, 4:25pm UTC](https://discuss.elastic.co/t/index-type-stats/62525/3 "2016-10-11T16:25:45Z")

</div>

Thank you Ali,

This is helpful.

---

<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: [July 5, 2017, 10:13pm UTC](https://discuss.elastic.co/t/index-type-stats/62525/4 "2017-07-05T22:13:22Z")

</div>


