# How do I get a list of closed indexes?

**URL:** <https://discuss.elastic.co/t/how-do-i-get-a-list-of-closed-indexes/15951>\
**Category:** Elasticsearch\
**Created:** [February 21, 2014, 1:31pm UTC](https://discuss.elastic.co/t/how-do-i-get-a-list-of-closed-indexes/15951 "2014-02-21T13:31:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Gray\_II](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexander_gray_ii/32/1669_2.png) [@Alexander\_Gray\_II](https://discuss.elastic.co/u/Alexander_Gray_II)\
**Post date:** [February 21, 2014, 1:31pm UTC](https://discuss.elastic.co/t/how-do-i-get-a-list-of-closed-indexes/15951/1 "2014-02-21T13:31:33Z")

</div>

I posted this question at StackOverFlow without realizing this is probably  
the better forum to post ES questions in:

> <https://stackoverflow.com/questions/21917474/how-do-i-get-a-list-of-closed-indexes-in-elasticsearch>

I recently closed an index via the Head plugin in Elasticsearch. I did NOT  
delete it.

I want to re-open it, but I forget which index I closed.

How do get a list of all the indexes that are closed?

So far, the best way is, but it seems heavy handed:

curl -XGET [http://localhost:9200/\_cluster/health](http://localhost:9200/_cluster/health)

Thanks!

Alex

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e0211fe3-e060-47b9-ae1d-a4116a4763fb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e0211fe3-e060-47b9-ae1d-a4116a4763fb%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@Binh\_Ly](https://discuss.elastic.co/u/Binh_Ly)\
**Post date:** [February 21, 2014, 4:56pm UTC](https://discuss.elastic.co/t/how-do-i-get-a-list-of-closed-indexes/15951/2 "2014-02-21T16:56:28Z")

</div>

On ES 1.0, try:

curl "localhost:9200/\_cluster/state/blocks?pretty"

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/03f228d6-803b-4076-99ae-b5de7c44234f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/03f228d6-803b-4076-99ae-b5de7c44234f%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Alexander\_Gray\_II](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexander_gray_ii/32/1669_2.png) [@Alexander\_Gray\_II](https://discuss.elastic.co/u/Alexander_Gray_II)\
**Post date:** [February 22, 2014, 1:19am UTC](https://discuss.elastic.co/t/how-do-i-get-a-list-of-closed-indexes/15951/3 "2014-02-22T01:19:43Z")

</div>

Awesome! I was wondering what "blocks" was all about. I saw my closed  
index listed there, but wasn't sure if it was the right place.  
Thanks!

On Friday, February 21, 2014 11:56:28 AM UTC-5, Binh Ly wrote:

> On ES 1.0, try:
> 
> curl "localhost:9200/\_cluster/state/blocks?pretty"

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/adb48200-359f-4767-bc80-b7cae93cb670%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/adb48200-359f-4767-bc80-b7cae93cb670%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:48am UTC](https://discuss.elastic.co/t/how-do-i-get-a-list-of-closed-indexes/15951/4 "2017-07-06T01:48:11Z")

</div>


