"mtail" and "grok_exporter" can be used to turn logs into metrics, by counting lines that match a pattern. You can scrape these with Prometheus and alert on them as normal.
"loki" is a log storage engine which has a LogQL language similar to PromQL, and will soon be gaining the ability to alert on them: https://www.youtube.com/watch?v=TcmvmqbrDKU (see 29:35 for alerting) Think carefully about what actual alerts you want to send out and when: https://docs.google.com/document/d/199PqyG3UsyXlwieHaqbGiWVa8eMWi8zzAn0YfcApr8Q/edit https://www.robustperception.io/running-into-burning-buildings-because-the-fire-alarm-stopped -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/7833ad1f-ade5-4d27-bbfd-9401b5fa46a8o%40googlegroups.com.

