I am currently using _cat/indices and parsing the return of that.. But I wondered if there's a nicer api method that will just return an array of index names?
patrick99e99 (Patrick Collins) #1
Joshua_Rich (Joshua Rich) #2
/_cat/indices you can add a
format parameter to get the results back in either YAML or JSON format:
A structured result like that might be easier for you to parse automatically?
system (system) #3