# Fetching index cache stats with json api?

**URL:** <https://discuss.elastic.co/t/fetching-index-cache-stats-with-json-api/6721>\
**Category:** Elasticsearch\
**Created:** [February 15, 2012, 9:49pm UTC](https://discuss.elastic.co/t/fetching-index-cache-stats-with-json-api/6721 "2012-02-15T21:49:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bos](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@bos](https://discuss.elastic.co/u/bos)\
**Post date:** [February 15, 2012, 9:49pm UTC](https://discuss.elastic.co/t/fetching-index-cache-stats-with-json-api/6721/1 "2012-02-15T21:49:24Z")

</div>

Hi,

I know that I can fetch node-level cache stats by using something  
like:

[http://localhost:9200/\_cluster/nodes/stats](http://localhost:9200/_cluster/nodes/stats)

Is there a way to fetch index-level cache stats?

Thx

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 16, 2012, 4:53pm UTC](https://discuss.elastic.co/t/fetching-index-cache-stats-with-json-api/6721/2 "2012-02-16T16:53:30Z")

</div>

No, there isn't support for that in the index stats API. There should be, but its a bit trickier to do that.

On Wednesday, February 15, 2012 at 11:49 PM, bos wrote:

> Hi,
> 
> I know that I can fetch node-level cache stats by using something  
> like:
> 
> [http://localhost:9200/\_cluster/nodes/stats](http://localhost:9200/_cluster/nodes/stats)
> 
> Is there a way to fetch index-level cache stats?
> 
> Thx

---

<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 6, 2017, 3:39am UTC](https://discuss.elastic.co/t/fetching-index-cache-stats-with-json-api/6721/3 "2017-07-06T03:39:06Z")

</div>


