On This Page

Home / Edge/ Integrations/ Common Data Flows/Visualize Infrastructure Metrics in Grafana

Visualize Infrastructure Metrics in Grafana ​

Send metrics collected by Cribl Edge to Grafana Cloud and visualize them in Grafana dashboards.


After Cribl Edge collects host, container, or Kubernetes metrics, you can route those events to a visualization tool such as Grafana Cloud. Then, use Grafana dashboards to monitor infrastructure health and performance.

Prerequisites ​

If you have not enabled metrics collection yet, configure and deploy the appropriate Source first. The Grafana dashboards you choose later depend on the level of metric detail your Source already emits (Basic versus All).

Dashboards ​

Grafana’s public library includes dashboards that work well with metrics from Cribl Edge:

  • For aggregate host metrics, use the Cribl Node Observability dashboard.
  • For highly detailed Linux host metrics, use Node Exporter Full. Match this dashboard to Sources configured for detailed metric output (see the Source reference topics linked above).
  • For Windows host metrics, browse Grafana’s Windows dashboards.

Send Metrics to Grafana Cloud ​

To send collected metrics to a new Grafana Cloud Destination:

  1. On the top bar, select Products, then Edge. Under Fleets, select a Fleet.
  2. Add a Grafana Cloud Destination in the Fleet (via More > Destinations or Collect > Add Destination). Complete General Settings, authentication, and other options per the Destination topic.
  3. Select Collect.
  4. Connect your existing metrics Source to the Grafana Cloud Destination. In the Connection Configuration modal, set Pipeline to prometheus_metrics, then select Save.
  5. Select Commit, enter a commit message, and select Commit & Deploy.

To confirm data is leaving Cribl Edge, open the Grafana Cloud Destination and select its Live Data tab to preview a sample of metric events.

Preview Live Data
Grafana Cloud Destination Live Data preview

For more information on Grafana Cloud endpoint URLs, API keys, and authentication, see Grafana Cloud Destination.

(Optional) Modify the prometheus_metrics Pipeline ​

Optionally, modify the prebuilt prometheus_metrics Pipeline to include the host dimension or to add or remove other dimensions.

  1. On the top bar, select Products, then Edge. Under Fleets, select a Fleet.
  2. Select More, then Pipelines, then prometheus_metrics.
  3. Change the Eval Function fields in Evaluate Fields as needed, then select Save.
  4. Commit and deploy your changes.
Customizing the Pipeline’s dimensions
Adjust dimensions in the prometheus_metrics Pipeline

For custom Loki labels, Pipeline edits before a standalone Prometheus Destination, or other Grafana send patterns, see Send Data to Loki and Prometheus.

Visualize the Metrics in Grafana ​

  1. Navigate to your Grafana Cloud instance and select Explore on the left panel to review node metrics. Select metrics and run a query to produce a chart and table of metric events, which you can add to new or existing dashboards. If expected metrics are missing, adjust the variables in your Grafana instance. See Grafana’s Variables topic for details.

  2. Use Grafana’s Filter option to browse dashboards for your Prometheus data.

    Cribl Node observability
    Cribl Node Observability dashboard
    Node Exporter Full
    Node Exporter Full dashboard