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.
dadoonet
(David Pilato)
October 8, 2018, 6:41am
2
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"]
dadoonet
(David Pilato)
October 8, 2018, 7:16am
4
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.
system
(system)
Closed
November 6, 2018, 9:35am
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.