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?