• In this post, I will show you how to setup your centralized logging solution on Kubernetes using Grafana and Loki. It will take less than 10 minutes.
  • To check the latest version of Grafana Loki, visit the Loki releases page. https://github.com/grafana/loki/releases/.
  • Loki started at Grafana Labs in 2018 and was announced at the KubeCon in Seattle in December 2018. In June 2019, the first beta version 0.1.0 was released.
  • This is where Loki comes in - an advanced log aggregation system developed by Grafana Labs. Loki aims to simplify effective and user-friendly collection and...
  • docker run -d --name=loki -p 3100:3100 grafana/loki:1.4.1. ... For Loki 1.4.0 and up, the v prefix has been removed: grafana/loki:1.4.0.
  • The Grafana Loki solution breaks down as the following: Grafana – dashboards and awesome visualizations to connect open-source solutions.
  • This is where Grafana Loki comes in, providing a powerful yet straightforward approach to log aggregation.
  • We have completed the installation of Loki as well as Promtail and started them in the local machine. Let’s make some changes in the Grafana to view the logs.
  • To achieve this goal, we assembled Nginx, Loki, and Promtail into a pipeline to work together, showing all required metrics on a Grafana dashboard.
  • This is a tutorial using Docker Compose to setup Grafana with Loki and forwarding your logs from your running containers to Loki.