Loki and promtail

I installed loki and promtail on a raspberry pi 3B (Linux raspberrypi 5.10.63-v7+ #1459 SMP Wed Oct 6 16:41:10 BST 2021 armv7l GNU/Linux), using these instructions.

The instructions specify where to download yalm configuration files:

wget https://raw.githubusercontent.com/grafana/loki/master/cmd/loki/loki-local-config.yaml
wget https://raw.githubusercontent.com/grafana/loki/main/clients/cmd/promtail/promtail-local-config.yaml

These files don’t really work for me, I needed to make some changes, in order for loki and promtail to work:


  • change address: into address:
  • comment out limits_config: and unordered_writes: true


  • change url: http://localhost:3100/loki/api/v1/push into url: (use IP instead of localhost)

Anything I should change on this system, to make the proposed configuration files work, without modifications?