Tutorials

Tutorial

Centralized Log Management with Grafana Loki on a VPS

Deploy Grafana Loki, Promtail, and Grafana via Docker Compose on a single VPS. Collect systemd, Docker, and Nginx logs, query them with LogQL, and configure retention for production use.

20 min readRead
Tutorial

AI Log Analysis with Ollama on a VPS: Detect Anomalies with a Local LLM

Build a production-ready AI log analysis pipeline on your VPS. Query Loki for logs, classify anomalies with a local LLM via Ollama, and route alerts to Discord or Slack using a Python script and systemd timer.

13 min readRead