Are all your nodes configured to be master eligible? You have 3 nodes in the cluster, so the 3 nodes should be configured as maste eligible in this case.
How are you getting the monitoring data? Using metricbeat? Please share logstash.yml and metricbeat.yml of both nodes.
This is a requirement, if your master node goes down your entire cluster will go down, you do not have a resilient cluster with just 2 master nodes, the minimum is 3 master nodes.
This is the legacy monitoring, not sure what is the issue here, but I think it is missing the xpack.monitoring.enabled: true configuration.
One thing I find strange in the logstash monitoring page is the IP address : 127.0.0.1
As each logstash report to its own elasticsearch, monitoring datas are maybe sent with the localhost address, and so both have "127.0.0.1" and maybe elasticsearch is lost betweeen the two ?
To compare, Elasticsearch nodes have their IP correct.
Not sure if this is the issue, but this is expected because this IP address is the IP of the logstash API, which per default will bind to 127.0.0.1.
Being honest, not sure what is the problem here, but I've never used this legacy monitoring with Logstash, always used Metricbeat, I would suggest that you see if you can change the monitoring to use Metricbeat at least.
The elk3 server was cloned from the elk1 one.
Logstash as a UUID set in /var/lib/logstash when started for the first time but this file isn't deleted when stopped.
So both servers had the same UUID... and so was the monitoring stats problems.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.