Search⌘ K
AI Features

Playing with the Loki Stack

Explore how to set up and use the Loki stack alongside Grafana to manage centralized logging within Kubernetes clusters. Understand query syntax to filter and retrieve logs effectively in dynamic infrastructures.

We'll cover the following...

Let’s get our hands dirty. The first step is to set up a cluster and install the Loki stack and a few other tools.

Get started with Loki

We made all the preparations, we deployed all the apps, and we applied all the configuration we need to give Loki a spin. Now we're ready to dive in.

We'll open Grafana first since that will be our user interface.

open http://grafana.$INGRESS_HOST.nip.io/explore
Open the grafana dashboard

Note: The nip.io URL works with local addresses. That’s good news because that means it can work with Docker Desktop and Minikube. The bad news is that we might have told you otherwise in the previous chapters. We should have known that it's improved since the last time we experimented with it.

We're presented with the login screen. The username is "admin," but the default password is not a hard-coded value like "admin" or "123456." That’s a good thing in ...