Grafana Loki

Receive Grafana Loki log-based alert notifications via webhook.

InboundLogging & Error Tracking
Start Free Trial

Quick Setup

Copy Webhook URL

Go to your Alert24 dashboard and copy the webhook URL for Grafana Loki.

Configure Grafana Loki

Add the webhook URL in your Grafana Loki settings.

Auto-Detected

Alert24 auto-detects Grafana Loki payloads and maps them to incidents.

Step-by-Step Setup Instructions

Grafana Loki Alert Webhook Setup

1.Configure Loki alerting rules in your Loki config or via Grafana
2.In Grafana, go to Alerting → Contact Points
3.Add a Webhook contact point
4.Set the URL to the webhook URL shown above
5.Create alert rules using LogQL queries and route to this contact point

Example Webhook Payload

This is a sample payload that Grafana Loki sends to Alert24 when an alert fires.

{
  "status": "firing",
  "alerts": [
    {
      "status": "firing",
      "labels": {
        "alertname": "HighErrorRate",
        "job": "api-server"
      },
      "annotations": {
        "summary": "Error log rate > 10/min for api-server"
      }
    }
  ]
}

How Alert24 Maps Grafana Loki Data

Status Field

status

Message Field

alerts.0.annotations.summary

Auto-Create Incidents

Yes

Auto-Resolve Incidents

Yes

Status Mapping

Alert24 StatusGrafana Loki Values
operational
resolved
down
firing

Connect Grafana Loki to Alert24 in minutes

Free plan includes 5 monitors, 1 status page, and incident management. No credit card required.

More Logging & Error Tracking Integrations