Hello,
I have following issue.
I created ELK Onenode cluster with self-monitoring enabled (as ELK Monitoring Cluster)
I joined another ELK Cluster environment to Monitoring Cluster.
From another ELK Cluster I configured metricbeats to connect to elasticsearch from Monitoring Cluster and elasticsearch-xpack module to access locally elasticcsearch for monitoring.
My environment is configured that way that ELK Cluster is sending data to elasticsearch in monitoring Cluster using port 9200. This is only one port enabled between servers.
My issue is - when from Monitoring Cluster I'm going to monitored ELK Cluster and want to see indexes, after couple of minutes I'm receiving error 504.
The question is - should I configure something more there ?
I was looking about to configure beats-xpack module - will I need it to successfull communication ?
monitoring more than 1 cluster with a single monitoring cluster is a commercially licensed feature (Multi-Stack Monitoring), perhaps that is the issue if you are using a Basic / Free license, See here
no, this is not this issue because right now I have one cluster connected to monitoring - both of them have platinum license.
my issue is that - when from cluster with monitoring I'm going to elasticsearch of monitored cluster, click indices - it is searching and .. error 504 . Maybe this is related with some timeout ?
Perhaps a screenshot AND you should definitely look at the logs of the elasticsearch cluster that is the monitoring cluster.
Also if I am reading this right 1 cluster is self-monitoring (deprecated) and one cluster is using metricbeat easlticsearch-xpack module (go forward method).... not sure that is the best setup.... that could be a problem as well and I believe that monitoring indices are different.
Not saying that IS the issue... but not sure if you can mix them.
ok,
You said that this is not correct setup.
May I ask how should I implement monitoring ?
Let me explain my implementation:
On one server I installed called as ELK Monitoring Cluster - elasticsearch and kibana.
I choosed under monitoring tab in kibana - enable self monitoring
On the another server which I would like to have be monitored:
in elasticsearch I have installed metricbeat.
in /etc/metricbeat/metricbeat.yml I included elasticsearch configuration (host,username,password) points to ELK Monitoring.
enabled elasticsearch-xpack.yml in modules,
in /etc/metricbeat/modules/elasticsearch.yml included configuration of local elasticsearch.
In monitoring cluster I see monitoring environment, all looks like fine,
but when I click on monitored environment -> elasticsearch -> indices
it is looking for indices and after couple of minutes cannot find anythhing and throws 504
I have a question also - if my implementation of monitoring is correct or I should change it.
I did not say your configuration is not correct. I just said it could be an issue... And that is not how we would typically suggest monitoring more than 1 cluster.
Perhaps take a look at the documentation here and here
You could monitor both with a single metricbeat module / single metricbeat instance... you can put more than 1 cluster in the elasticsearch-xpack.yml
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.