trevorndodds / elasticsearch-metrics

102 stars 99 forks source link

How can i fetch index name and store it to elasticsearch #19

Closed floppy84 closed 6 years ago

floppy84 commented 6 years ago

Hi all,

I would like to list index name in specific fiels like index_names

the purpose is to graphe into grafana, the store size used by index.

Best regards

trevorndodds commented 6 years ago

You could pull the results from _cat/indices?format=json&pretty without pretty /_cat/indices?format=json