List all indexes on ElasticSearch server?

前端 未结 23 1102
被撕碎了的回忆
被撕碎了的回忆 2020-12-12 09:55

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:

23条回答
  •  感情败类
    2020-12-12 10:21

    If you have curl installed on your system, then try this simple command : curl -XGET xx.xx.xx.xx:9200/_cat/indices?v

    The above-mentioned command gives you result in this format : result to fetch all indices

提交回复
热议问题