I have looked up the Elastic docs, but have not found a clear answer yet.
One way to get the names of closed indices was using blocks data, but the indices section of the blocks data return closed indices along with some others indices without alias. The Elastic doc does not say anything about what blocks data is.
# Return only blocks data
$ curl -XGET 'http://localhost:9200/_cluster/state/blocks'
Is there a way to get the names of only the closed indices in a cluster?
Thanks, @val and @Fram_Souza for the suggestions. I updated the title. I am wondering if there is a way to do it just from Kibana using _cat API, like how we can get a list of aliases the following way.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.