elasticsearch get list of indexes code example
Example 1: elasticsearch show indexes
GET /_cat/indices
curl -X GET "localhost:9200/_cat/indices?pretty"
Example 2: listing index elasticsearch python
es.indices.get_alias("*")
GET /_cat/indices
curl -X GET "localhost:9200/_cat/indices?pretty"
es.indices.get_alias("*")