When an analyst said “search is slow”, the CPU and memory graphs could not say why. Data flowed from agents through managers through Logstash into OpenSearch, and the problem could start at any of those stages. Standard infrastructure monitoring reports that a CPU is busy or a disk is filling up. That is necessary, but it does not say which stage of a pipeline is the bottleneck.
I needed monitoring that followed the whole pipeline path and not only the servers it ran on. The pipeline in question belonged to the multi-tenant SIEM, which ran on the on-premise Kubernetes platform.
The parts were a common combination, chosen because the integration between them is well documented. Prometheus collected metrics, which are numbers sampled over time, from every pipeline stage. Vector collected logs and enriched them before shipping them to Loki, which stored them. Grafana drew the dashboards over both.

Alerts come first
A dashboard only helps once someone is looking at it. Alerting is the more important half of observability: rules that watch the same metrics and telemetry and raise a problem when it is detected, so nobody has to notice it on a screen first.
Alerts went out through Alertmanager. Each one carried a runbook link and a note on what usually causes that condition, so the person responding did not start from nothing. The dashboards below are what that person opened next.
Working a report of slow search
This is how the dashboards were read when that report came in.
I started on the pipeline health dashboard. It showed three things together: ingestion throughput, Logstash queue depth and indexing latency. Ingestion is data arriving. Logstash is the stage that processes it, and its queue depth is how much is waiting. Indexing is OpenSearch storing the result so it can be searched.
Suppose indexing latency had spiked. On its own that reading does not say what to fix. Next to the other two it does. The spike could line up with a surge of volume at ingestion, with a queue backing up in Logstash, or with a health problem in OpenSearch. If indexing latency was high, Logstash queues were backing up and ingestion volume was normal, then Logstash was the bottleneck.
If the readings pointed at OpenSearch, the cluster health dashboard broke the cluster down by node group: Client, Master, Hot, Warm and Ingest.
From any of these, the dashboard linked to a Loki query for the relevant logs in the same time window. Going from a metric that had spiked to what was happening at that moment took one click.
What made the stages comparable
Putting three stages on one screen only works if their numbers can be joined. I instrumented ingestion, processing and indexing separately, then labeled every source the same way, so metrics from different components could be joined on common dimensions such as tenant, pipeline stage and data type. The consistent labeling and the dashboard design took more time than any other part of the build.
The default instrumentation did not go deep enough in two places: the internals of Logstash pipelines and the details of OpenSearch cluster state. Off-the-shelf exporters do not expose those. An exporter is a small program that publishes a system’s internal numbers in a form Prometheus can collect, and I wrote custom ones for both.
Four dashboards and not one
I built separate views for separate situations. During an incident I wanted the five metrics that mattered for that kind of problem, not fifty that might be relevant.
Pipeline health and cluster health are the two used above. Tenant activity showed data volume and query patterns for each tenant. Capacity planning tracked storage consumption and throughput trends over time, so I could forecast when resources would need to be added.
The data pipeline skills page lists the patterns this draws on.
Scott Tompkins