user1016765
user1016765

Reputation: 3063

Configure Grafana datasource to use multiple ElasticSearch nodes

In order to increase the availability of Grafana monitoring is there a way to configure multiple ElasticSearch nodes in one datasource and let Grafana 'load balance' between them, or configure explicit primary and failover nodes?

I'm using a 3-node ElasticSearch cluster to store monitoring data, however during a rolling update (or if a node fails) Grafana will error if it can't connect. I have spread the config for different indexes across instances, however 1/3 of the dashboards will typically stop working if a node fails so its not ideal.

Upvotes: 1

Views: 2070

Answers (1)

leandrojmp
leandrojmp

Reputation: 7463

It is not possible to configure multiple elasticsearch nodes as a datasource on grafana, there is a feature request for it but it was not implemented yet.

One way to solve this is to start another elasticsearch node configured only as a coordinating node and then configure this node as the data source on grafana.

Upvotes: 1

Related Questions