Collecting Kibana monitoring data

hi everybody,

we've got a multi-cluster setup with a tribe node and a dedicated ES node for ".kibana" index only (localhost:19200). All communications are SSL secured. There is no dedicated monitoring cluster so far.
What we're trying to achieve is to store the NodeJS statistics from Kibana to the "main" ES cluster.
The monitoring page in the "main" Kibana itself should not be exposed to the users, as we've got "admin" Kibanas in every ES cluster.
So, the problem is - the "main" Kibana does not send its monitoring data to the "main" ES cluster, we checked the audit logs on the ES side - no index requests from the Kibana side at all.

Here is the configuration of the "main" Kibana:

elasticsearch.url: "https://127.0.0.1:19200"
elasticsearch.tribe.url: "https://tribe-node:9200"
elasticsearch.username: "kibana-admin"
elasticsearch.password: "password"
elasticsearch.tribe.username: "kibana-admin"
elasticsearch.tribe.password: "password"
server.ssl.cert: /etc/kibana/ssl/kibana.crt
server.ssl.key: /etc/kibana/ssl/kibana.key
elasticsearch.ssl.ca: /etc/kibana/ssl/ca-bundle.crt
elasticsearch.ssl.verify: false
elasticsearch.tribe.ssl.verify: false
logging.dest: /var/log/kibana/kibana.log
logging.verbose: false
xpack.reporting.encryptionKey: asdfasdfadsfasdfadsfsdaf
xpack.security.encryptionKey: asdfasdfadsfasdfadsfsdaf
xpack.monitoring.elasticsearch.url: "https://main-cluster-node-1:9200"
xpack.monitoring.elasticsearch.username: "monitoring"
xpack.monitoring.elasticsearch.password: "password"
xpack.monitoring.kibana.collection.enabled: true
xpack.monitoring.report_stats: false
xpack.monitoring.elasticsearch.ssl.ca: /etc/kibana/ssl/ca-bundle.crt
elasticsearch.ssl.verify: false
console.enabled: false
xpack.searchprofiler.enabled: false
xpack.monitoring.enabled: false

So, the question: which ES node does Kibana send its monitoring data to, when the collection (xpack.monitoring.kibana.collection.enabled) is enabled?

Thank you!

Have you set a monitoring user like in this guide:

https://www.elastic.co/guide/en/x-pack/current/monitoring-kibana.html

Thanks for the link! I was looking for that all the time :slight_smile:

OK, the page describes clearly:

elasticsearch.url - where the KB metrics are being sent to
xpack.monitoring.elasticsearch.url - where the stored monitoring data are being retrieved from

So, no way to send KB metrics to the monitoring cluster instead of the "local" node?

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.