I would like to list all indexes present on an ElasticSearch server. I tried this:
curl -XGET localhost:9200/
but it just gives me this:
The simplest way to get a list of only indexes is to use the answer above, with the 'h=index' parameter:
curl -XGET "localhost:9200/_cat/indices?h=index"