_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

Loki + Grafana — centralizované logy

15. 08. 2025 1 min read intermediate

Cloud Intermediate

Loki + Grafana — centralizované logy

LokiGrafanaLogging 3 min read

Lightweight log agregace s Loki a vizualizace v Grafana.

Proč Loki?

Loki je „Prometheus pro logy“. Neindexuje obsah logů, jen labels. Mnohem levnější než Elasticsearch.

Installation

helm install loki grafana/loki-stack \
  --namespace monitoring \
  --set promtail.enabled=true \
  --set grafana.enabled=false  # Už máme Grafanu

LogQL dotazy

{namespace="production", app="api"} |= "error"
{app="api"} | json | status >= 500
rate({app="api"} |= "error" [5m])

Summary

Loki + Promtail + Grafana = levné a efektivní centralizované logování. LogQL je intuitivní pro Prometheus uživatele.

Need Help with Implementation?

Our team has experience designing and implementing modern architectures. We’re happy to help.

Free Consultation

Share:

CORE SYSTEMS tým

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.