Size of Closed Index

Hi All

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

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.

Done https://github.com/elastic/elasticsearch/issues/12847!

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//stats/_store ... It returns the size as 264 M.

So i find its different

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