Configure Kibana for multiple ES servers/nodes

hello

how to configure Kibana for multiple ES servers/nodes in the same cluster

'# The Elasticsearch instance to use for all your queries.
elasticsearch_url: "http://elastic01:9200" ? i want to add other node

thank you !

1 Like

Not sure if you can use an array here.

You could setup a DNS alias for it instead.

This is what I found from Elastic Website, hope this helps

Load Balancing Across Multiple Elasticsearch Nodesedit

If you have multiple nodes in your Elasticsearch cluster, the easiest way to distribute Kibana requests across the nodes is to run an Elasticsearch client node on the same machine as Kibana. Elasticsearch client nodes are essentially smart load balancers that are part of the cluster. They process incoming HTTP requests, redirect operations to the other nodes in the cluster as needed, and gather and return the results. For more information, see Node in the Elasticsearch reference.

To use a local client node to load balance Kibana requests:

Install Elasticsearch on the same machine as Kibana.
Configure the node as a client node. In elasticsearch.yml, set both node.data and node.master to false:

3. You want this node to be neither master nor data node, but

to act as a "search load balancer" (fetching data from nodes,

aggregating results, etc.)

node.master: false
node.data: false
Configure the client node to join your Elasticsearch cluster. In elasticsearch.yml, set the cluster.name to the name of your cluster.

cluster.name: "my_cluster"
Make sure Kibana is configured to point to your local client node. In kibana.yml, the elasticsearch_url should be set to localhost:9200.

The Elasticsearch instance to use for all your queries.

elasticsearch_url: "http://localhost:9200"

2 Likes

thank you
good idea
but
I installed in each node Kibana
4 Kibana with haproxy for LB
its work but its not a good idea

i will try ur solution

how big is the system running your 4th node (RAM, CPU, etc)? Mind sharing?

I am quite curious because elasticsearch is quite heavy in general and it doesn't make sense to me to have another node just for kibana+elasticsearch.

This thread is a year old, it might be better to start a new one :slight_smile:

1 Like