How to filter or query list of index names in Elasticsearch? How to filter or query list of index names in Elasticsearch? elasticsearch elasticsearch

How to filter or query list of index names in Elasticsearch?


Simple: curl localhost:9200/_cat/indices/sam-*?v


It should be like that:

curl -X GET "127.0.0.1:9200/_cat/indices/sam-*?v&s=index"