You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/home-lab/articles/ai-log-summary/ai-log-sre.md
+17-20Lines changed: 17 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@
3
3
**Project Status:** ✅ Operational
4
4
**Components:** Grafana Loki, Google Gemini 2.0 Flash, Home Assistant, Unraid, Python
5
5
6
-
## 1. The Problem: Log Fatigue
6
+
###1. The Problem: Log Fatigue
7
7
In a distributed homelab (Unraid, Proxmox VE, Edge Servers, DNS (Adguard + Unbound), Traefik, Unifi Network, Tailscale ...), logs are scattered everywhere.
8
8
***Volume:** My servers generate ~1GB of text logs daily.
9
9
***Visibility:** I only looked at logs *after* I noticed something was broken.
10
10
***Noise:** 99% of logs are "Info", masking the 1% "Critical" errors.
11
11
12
12
I needed a system that wouldn't just *store* logs, but actively *analyze* them and tap me on the shoulder only when it found something I actually needed to see.
13
13
14
-
## 2. The Solution
14
+
###2. The Solution
15
15
I built a centralized logging pipeline using **Grafana** and **Loki** (for storage) and a custom **Python + Gemini** script (for analysis).
16
16
17
17
Instead of feeding raw logs to an LLM (which is slow and expensive), I implemented a **"Pre-processing Engine"** that:
@@ -22,13 +22,13 @@ Instead of feeding raw logs to an LLM (which is slow and expensive), I implement
0 commit comments