How do I get a list of closed indexes in ElasticSearch?

elasticsearch

Solution

When asking for: /_cluster/state/metadata

You get a list of indices, from each index you can request the state: metadata.indices["your_index"].state

I use this in my plugin as well and it works for me: http://www.gridshore.nl/esgui/

Problem

I recently closed an index via the Head plugin in Elasticsearch. I did NOT delete it. I want to re-open it, but god forbid I forget which index I closed. How do get a list of all the indexes that I closed? I tried: ``` curl -s localhost:9200/_stats | grep logstash-2013.12.05 curl -s localhost:9200/_status | grep logstash-2013.12.05 ``` But no luck.

Original source