Skip to main content

LogMetrics

Log Metrics convert log events into metrics so you can build dashboards and alerts from log data without repeated log queries. They are useful for trend tracking, alerting, and summarizing high-volume log streams.

LogMetrics are great for extracting structured data from unstructured logs.

How It Works

  1. Logs enter the ingestion pipeline
  2. The LogMetrics filter selects matching events
  3. Each metric definition emits a metric sample
  4. Labels are attached to every emitted sample
  5. Metrics can be used for dashboards and alerts

Example Walkthrough

In the following video, we walk through how Log Metrics can be used to convert logs into alert-ready metrics.

Terraform

LogMetrics can be defined using Terraform via the oodle_logmetrics resource. See the full schema in the Terraform registry.