List all indexes on ElasticSearch server?

前端 未结 23 1170
被撕碎了的回忆
被撕碎了的回忆 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:08

    To get all the details in Kibana.
     GET /_cat/indices
    
    
    
    
    To get names only in Kibana.
    GET /_cat/indices?h=index
    

    Without using Kibana ,You can send a get request in postman or type this in Brower so you will get a list of indices names

    http://localhost:9200/_cat/indices?h=index
    

提交回复
热议问题