- Is there a way to get a list of hot indexes (available for writing) in elasticsearch?
- if yes, is there a way to get that list associated only with specific alias?
CodePudding user response:
You can run GET _cat/aliases/alias-name?format=json
and keep only the entries with is_write_index: true
. That will get you the list of indices associated to the specific alias and currently being written to.