From 06ac38be36c345e0dd0cc92f50b17f04051bd6f6 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Wed, 5 Feb 2025 13:11:50 +0100 Subject: [PATCH] Monitoring Stack: add loki docker plugin info to readme --- Docker/Docker-Compose/Monitioring/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Docker/Docker-Compose/Monitioring/README.md b/Docker/Docker-Compose/Monitioring/README.md index a3d6944..bda7143 100644 --- a/Docker/Docker-Compose/Monitioring/README.md +++ b/Docker/Docker-Compose/Monitioring/README.md @@ -3,3 +3,20 @@ This is my Monitoring Stack starting point configuration. Mainly built for use with docker/docker-compose. +## Loki + +### Loki Docker Log Driver + +To be able to send the docker container log to Loki +we need to install the `loki-docker-driver` docker +plugin. We can do so by running this command: + +```Shell +docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions +``` + +// or if you are running this on a Raspberry Pi + +```Shell +docker plugin install grafana/loki-docker-driver:arm-v7 --alias loki --grant-all-permissions +```