how to list indexes in elasticsearch in python code example
Example 1: elasticsearch list indexes
GET /_cat/indices/twi*?v&s=index
Example 2: how to get elasticsearch index list using python
for index in es.indices.get('*'):
print index
GET /_cat/indices/twi*?v&s=index
for index in es.indices.get('*'):
print index