Hi there,
I have just installed the Promtail Add-On, hoping to be able to forward Home Assistant logs to my Loki server (running in a central location outside of Home Assistant, not through the Add-On). I set the server address in the config, however no logs seem to be forwarded. Here’s the log output from the Add-On:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
-----------------------------------------------------------
Add-on: Promtail
Promtail for Home Assistant
-----------------------------------------------------------
Add-on version: 2.2.0
You are running the latest version of this add-on.
System: Home Assistant OS 12.0 (amd64 / qemux86-64)
Home Assistant Core: 2024.3.0
Home Assistant Supervisor: 2024.02.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
Log level is set to INFO
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/02-set-timezone.sh
[18:08:39] INFO: Configuring timezone
cont-init: info: /etc/cont-init.d/02-set-timezone.sh exited 0
cont-init: info: running /etc/cont-init.d/promtail_setup.sh
[18:08:39] INFO: Setting base config for promtail...
cont-init: info: /etc/cont-init.d/promtail_setup.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun promtail (no readiness notification)
s6-rc: info: service legacy-services successfully started
[18:08:41] INFO: Starting Promtail...
[18:08:41] INFO: Promtail log level set to info
[18:08:42] INFO: Handing over control to Promtail...
level=info ts=2024-03-10T17:08:42.659777348Z caller=server.go:288 http=[::]:9080 grpc=[::]:45215 msg="server listening on addresses"
level=info ts=2024-03-10T17:08:42.661017471Z caller=main.go:121 msg="Starting Promtail" version="(version=2.6.1, branch=HEAD, revision=6bd05c9)"
Any suggestions?