Loki alerting rules with Alertmanager
Writing LogQL alert rules evaluated by the Loki ruler and sending them to Prometheus Alertmanager: rule groups, for durations, labels and annotations, and where rule files are stored.

Alerting on log patterns and turning logs into stored metrics with Loki's ruler, Grafana Alerting and Prometheus-compatible backends.
Writing LogQL alert rules evaluated by the Loki ruler and sending them to Prometheus Alertmanager: rule groups, for durations, labels and annotations, and where rule files are stored.
Precomputing expensive LogQL metric queries in the ruler and pushing results to Prometheus, Mimir or Thanos through remote write, with the ruler WAL that protects samples across crashes.
Choosing where log alerts live: Grafana-managed rules that can combine data sources and handle no-data states, or data source managed rules stored in Loki's ruler, and how each fits GitOps and multi-tenancy.
Running the Loki ruler reliably: rule storage in object storage, shuffle sharding for rule evaluation, and the 4.0 change that wipes the ruler's remote-write WAL on startup.
Using LogQL alert rules for authentication failures, privilege changes and suspicious patterns in application and system logs, and where a SIEM is still the better tool.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.