pelias / dashboard

Pelias dashboard built with the Dashing framework
7 stars 12 forks source link

Dynamic ES index #7

Closed Platzii closed 7 years ago

Platzii commented 7 years ago

Hi all,

Right now the metrics are fixed to the 'pelias'-index in Elasticsearch. This change gets the index from the ES_ENDPOINT setting so the index can be named to anything.

Another method to achieve this could be to add an extra variable ES_INDEX. But it seemed nicer to me to derive this from the current settings.

Kind regards, Simon