# Size of Closed Index

**URL:** <https://discuss.elastic.co/t/size-of-closed-index/27302>\
**Category:** Elasticsearch\
**Created:** [August 13, 2015, 6:59am UTC](https://discuss.elastic.co/t/size-of-closed-index/27302 "2015-08-13T06:59:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanveer3](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@tanveer3](https://discuss.elastic.co/u/tanveer3)\
**Post date:** [August 13, 2015, 6:59am UTC](https://discuss.elastic.co/t/size-of-closed-index/27302/1 "2015-08-13T06:59:37Z")

</div>

Hi All

How could we check the size of Closed Index on filesystem in Elasticsearch.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 13, 2015, 7:28am UTC](https://discuss.elastic.co/t/size-of-closed-index/27302/2 "2015-08-13T07:28:22Z")

</div>

You could find all the directories on all the nodes and then do a `du -sh` and add that together.

Otherwise there is no way for ES to tell. But there should be, so I'll raise a GH feature request for that.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 13, 2015, 7:32am UTC](https://discuss.elastic.co/t/size-of-closed-index/27302/3 "2015-08-13T07:32:57Z")

</div>

Done [https://github.com/elastic/elasticsearch/issues/12847](https://github.com/elastic/elasticsearch/issues/12847)!

---

<div class="post-metadata">

**Author:** ![tanveer3](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@tanveer3](https://discuss.elastic.co/u/tanveer3)\
**Post date:** [August 13, 2015, 7:33am UTC](https://discuss.elastic.co/t/size-of-closed-index/27302/4 "2015-08-13T07:33:21Z")

</div>

> [@warkolm](#):
>
> u could find all the directories on all the nodes

Hi Mark,

Doing du -sh returns the file size as 53M of an open State index and simultaneously when i run the command [http://localhost:9200/](http://localhost:9200/)/stats/\_store ... It returns the size as 264 M.

So i find its different

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 13, 2015, 7:58am UTC](https://discuss.elastic.co/t/size-of-closed-index/27302/5 "2015-08-13T07:58:59Z")

</div>

Is that on all the directories though?  
You may have more than one shard, you may have more than one node.

---

<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, 11:56pm UTC](https://discuss.elastic.co/t/size-of-closed-index/27302/6 "2017-07-05T23:56:03Z")

</div>


