elk version: 6.3.0
Using docker container
Server IP: 9.77.10.27 --> Docker IP: 172.17.0.2
Server IP: 9.77.10.28 --> Docker IP: 172.17.0.3
9.77.10.27 config
cluster.name: elk
node.name: node-1
network.host: 0.0.0.0
discovery.zen.ping.unicast.hosts: ["9.77.10.27:9300","9.77.10.28:9300"]
discovery.zen.minimum_master_nodes: 1
node.master: true
node.data: true
transport.tcp.port: 9300
9.77.10.27 config
cluster.name: elk
node.name: node-2
network.host: 0.0.0.0
discovery.zen.ping.unicast.hosts: ["9.77.10.27:9300","9.77.10.28:9300"]
discovery.zen.minimum_master_nodes: 1
node.master: true
node.data: true
transport.tcp.port: 9300
After starting, there is only one node in the clusters of monitoring.