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:
You can query localhost:9200/_status and that will give you a list of indices and information about each. The response will look something like this:
localhost:9200/_status
{ "ok" : true, "_shards" : { ... }, "indices" : { "my_index" : { ... }, "another_index" : { ... } } }