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:
loki:
- change
address: 127.0.0.1
intoaddress: 192.168.2.57
- comment out l
imits_config:
andunordered_writes: true
promtail:
- change
url: http://localhost:3100/loki/api/v1/push
intourl: http://192.168.2.57:3100/loki/api/v1/push
(use IP instead of localhost)
Anything I should change on this system, to make the proposed configuration files work, without modifications?