list indexes by size in elastic search code example
Example 1: elasticsearch show indexes
GET /_cat/indices
curl -X GET "localhost:9200/_cat/indices?pretty"
Example 2: see index size elasticsearch
GET /my-index-000001/_stats
GET /_cat/indices
curl -X GET "localhost:9200/_cat/indices?pretty"
GET /my-index-000001/_stats