Workshop: How to create Grafana alerts with logs
Details
Join us for a Grafana alerting workshop at denhac! There will be snacks and soft drinks.
Loki stores your logs and only indexes labels for each log stream. Using Loki with Grafana Alerting is a powerful way to keep track of what's happening in your environment. You can create metric alerts based on content in your log lines to notify your team. Even better, you can add label data from the log message directly into your alert notification.
In this workshop, you'll:
- Create a conditional alert using Loki.
- Create a custom alert message template
- Configure an email notification that includes part of the log message.
> Before the workshop:
- Ensure you’re on Grafana 8 or later with Grafana Alerting enabled. The easiest way to complete the workshop is to sign up for a free Grafana Cloud account which includes Grafana & Loki/
- Ensure you’ve configured a Loki datasource in Grafana - this is pre-configured with Grafana Cloud.
- Save this log-generating sample script to create the logs demonstrated in this tutorial, refer to the optional steps from the related tutorial:
- How to create alerts with log data
Related topics
Events in Denver, CO
Cloud Computing
SaaS (Software as a Service)
Software Architecture
Open Source
Technology

