Home > Blockchain >  Get list of current hot indexes in elasticSearch
Get list of current hot indexes in elasticSearch

Time:05-23

  1. Is there a way to get a list of hot indexes (available for writing) in elasticsearch?
  2. 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.

  • Related