Elasticsearch python list indices code example
Example 1: listing index elasticsearch python
es.indices.get_alias("*")
Example 2: how to get elasticsearch index list using python
for index in es.indices.get('*'):
print index
es.indices.get_alias("*")
for index in es.indices.get('*'):
print index