See llms.txt for all machine-readable content.
Efficiently monitor Kubernetes environments by sending only unique error logs from Grafana Loki to Slack. Reduces alert fatigue while keeping your team informed about critical log events.
This n8n workflow queries your Loki logs every 5 minutes, filters only the critical ones (error, timeout, exception, etc.), removes duplicate alerts within the batch, and sends clean alerts to a Slack channel with full metadata (pod, namespace, node, container, log, timestamp).
Every 5 minutes (customizable)
Pulls logs from the last 10 minutes
Keyword match: error, failed, oom, etc.
Extracts log fields (pod, container, etc.)
Skips empty/malformed results
Removes repeated error messages (within query window)
Sends nicely formatted message to Slack
Loki- Exposed internally or externally
Slack App- With chat:write OAuth
n8n- Cloud or self-hosted
Import the JSON file into n8n
Update:
