Correlate Logs with Metrics
Incident Management is now generally available! Incident Management is now generally available!

Correlate Logs with Metrics

Overview

Within the Datadog app there are several ways to correlate logs with metrics. Views like Log Explorer, Dashboards, and Metrics Explorer offer detailed panels and instant view switching to help you quickly gain context of an issue and map it throughout your service.

This guide shows you how to correlate logs and metrics throughout these views.

Log Explorer

To correlate logs and metrics in the Log Explorer:

  1. Click on any log under the Content column. This expands a panel with detailed information about the log.
  2. Click on the Metrics tab within the panel.

Dashboards

To correlate logs and metrics in a Dashboard:

  1. Navigate to your dashboard.
  2. Click on any data point within any widget to populate the graph menu.
  3. If your widget contains logs events that you wish to correlate with metrics:
    1. Select View related logs to populate a panel with detailed information about related logs.
    2. Select a specific log event.
    3. Click on the Metrics tab.
  4. If your widget contains metrics that you wish to correlate with logs:
    1. Select View related logs.
Correlate logs with metrics in a dashboard

Metrics Explorer

To correlate logs and metrics on the Metrics Explorer page:

  1. Select a metric to graph.
  2. Click on any point within the graph to populate the graph menu.
  3. Select View related logs.

Further reading


*Logging without Limits is a trademark of Datadog, Inc.