我最近通过 Elasticsearch 中的 Head 插件关闭了一个索引。 我没有删除它。
我想重新打开它,但上帝禁止我忘记我关闭了哪个索引。
如何获取我关闭的所有索引的列表?
我试过:
curl -s localhost:9200/_stats | grep logstash-2013.12.05
curl -s localhost:9200/_status | grep logstash-2013.12.05
但没有运气。
最佳答案
你可以使用这个:
http://yourserver:9200/_cluster/state/blocks?pretty
如果 Elasticsearch 将它贴在这个页面上就好了:https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html
关于elasticsearch - 如何在 ElasticSearch 中获取关闭索引列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21917474/