Hi there! I've 2 elk clusters version 7.6.1 "Basic license", 1st -production which have 3nodes (elastic, kibana, logstash and metricbeat agents on each node) and 2nd - monitoring cluster which have 1 node (elastic, kibana, metricbeat agent)
the question is: can i see all the nodes from my production cluster on my monitoring cluster which have own kibana instance with "Basic license" ?
thanks!
You can monitor your production cluster with another monitoring cluster, you need to use metricbeat and configure it to send data to your monitoring cluster.
But you cannot self-monitoring your monitoring cluster as the basic license does not allow monitoring multiple clusters.
ok! i got it, but what is the right way to achieve this ? I've re-read all the docs several times, but still cannot see the nodes in my kibana on monitoring cluster side
i follow the instructions and setup the metricbeat on prod nodes cluster with the following lines:
hosts: ["elk-mc.local:9200"] <--- url of my monitoring cluster
username: "elastic"
password: "my_password"
protocol: "https"
ssl.enabled: true
ssl.verification_mode: none
ssl.certificate_authorities: ["/etc/metricbeat/elastic-stack-ca-elk-mc.pem"]
the index named metricbeat-7.6.1-2024.04.15-000001 was created by elastic on monitoring cluster, but there aren't any data
and "No monitoring data found" in Kibana after I've disabled the self-monitoring.
maybe I've missed something?
The elasticsearch module can be used to collect metrics shown in our Stack Monitoring UI in Kibana. To enable this usage, set xpack.enabled: true and remove any metricsets from the module’s configuration.
Try to remove the metricsets and add a the scope as cluster.
I see in the output:
Error creating runner from config: 1 error: The elasticsearch module with xpack.enabled: true must have metricsets: [ccr enrich cluster_stats index index_recovery index_summary ml_job node_stats shard]
I've achieved my aim via update through update my monitoring cluster to 7.10.2 and metricbeat also to 7.10.2 versions.
But now i came across with this problem: how can i disable the "monitoring-cluster" node and monitor only "myhome cluster" with my Basic license?
The setting xpack.monitoring.elasticsearch.collection.enabled needs to be set to false on your production cluster as well, this is mentioned in the end of the documentation.
PUT _cluster/settings
{
"persistent": {
"xpack.monitoring.elasticsearch.collection.enabled": false
}
}
It should work, but I'm not sure if you will need to delete the data you have in your monitoring cluster.
As mentioned this version is pretty old, it is been years since I used it and some things changed on newer versions to make this process simpler.
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.