ahkam
ahkam

Reputation: 767

How to search specific index names from Elasticsearch?

In my ES cluster, I'm having indices like, 'movies-2011', 'movies-2012', 'movies-2013' ... I want to fetch the indices list which starts from "movies..". Are there any ways to achieve it?

Upvotes: 0

Views: 52

Answers (1)

Sahil Gupta
Sahil Gupta

Reputation: 2166

ES Documentation Link

Try below:

GET /_cat/indices/movies*

Upvotes: 1

Related Questions