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:
_stats/indices gives the result with indices.
_stats/indices
indices
$ curl -XGET "localhost:9200/_stats/indices?pretty=true" { "_shards" : { "total" : 10, "successful" : 5, "failed" : 0 }, "_all" : { "primaries" : { }, "total" : { } }, "indices" : { "visitors" : { "primaries" : { }, "total" : { } } } }