Two elastic servers with one Kibana dashboard

I have a requirement:
i need two elastic servers and two logstash to be setup on two unix boxes (unix box1 and unix box2).

My kibana will be setup in unix box1.

I need kibana to show the data/logs from both unix box 1 and unix box 2.

My question:
How to configure elasticservers in a way that ,kibana shows the data of both the logs stored by elastic server1 and elastic server2.

Please let me know the steps, if anyone tired this approach.

Thanks in advance.

You can have 2 elasticsearch nodes part of the same elasticsearch cluster.
Kibana connects to a cluster.

Is this the correct configuration. Can you please let me know.
elasticServer1

cluster-name : ESCluster
Node-name : ES1
node.master: true
node.data: true
node.ingest: false
network.host: 10.199.184.50
http.port: 9200
discovery.zen.ping.unicast.hosts: ["10.199.184.50","10.199.184.47"]

elasticServer2

cluster-name : ESCluster
node.name 1: ES2
node.master: false
node.data: true
node.ingest: false
network.host: 10.199.184.47
http.port: 9200
discovery.zen.ping.unicast.hosts: ["10.199.184.50","10.199.184.47"]

if i setup the same in my local then can i cahgne the network host to "localhost" and port to "unused port 1" to elasticserver1 and "unused port2" to elastic server 2 and discovery.zen.ping.unicast.hosts: ["localhost:port1","localhost:port2"]

Yes. That sounds all correct

Yes with the above configuration i was able to set up two elastic servers with one kibana dashboard.

Thanks David for quick reply.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.