-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Currently, the Monitoring UI is centered around the notion of one or more Elasticsearch production clusters. Therefore, all documents in .monitoring-* indices require a cluster_uuid field in them. If a document has no cluster_uuid field in it, data from that document simply does not show up anywhere in the Monitoring UI.
This implementation is a historical artifact, before we introduced Logstash or Beats monitoring. Concretely, there are two cases where the current Monitoring UI implementation can cause problems:
- Sometimes Elastic stack products like Beats or Logstash may not touch (be associated with) any Elasticsearch cluster at all. This means the corresponding documents in
.monitoring-beats-*or.monitoring-logstash-*will have nocluster_uuidfield. - Sometimes Logstash pipelines may touch multiple Elasticsearch clusters.
This means the corresponding documents in.monitoring-logstash-*would have a multi-valuecluster_uuidfield. This isn't something we do today but it would be how the data would be represented once we implement this change in Logstash.
Case # 2 can already handled by the current Monitoring UI: the data will show up in multiple clusters, which is accurate (under the current cluster-centric model anyway).
However, there is no way to handle case # 1 in the current Monitoring UI. If a monitoring document has no cluster_uuid field in it, data from that document simply does not show up anywhere in the Monitoring UI.
To handle case #1, per a discussion off-PR, it was decided that we create a new area in the Monitoring UI for "no cluster" monitoring data.