Skip to content

Monitoring UI should support data with no cluster UUID #27595

@ycombinator

Description

@ycombinator

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:

  1. 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 no cluster_uuid field.
  2. Sometimes Logstash pipelines may touch multiple Elasticsearch clusters.
    This means the corresponding documents in .monitoring-logstash-* would have a multi-value cluster_uuid field. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:MonitoringStack Monitoring teamenhancementNew value added to drive a business result

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions