hassio-addons
hassio-addons copied to clipboard
Logs not accessible by add-on (insecure mode)?
Hi, thanks for offering this addon to the community. It appears to be one of the few options that could work nicely to get logs out of HA.
I am trying to use it, but unfortunately, I think I am not getting any logs (in loki @ Grafana cloud) because I suspect that the addon is not able to access HA container logs in the first place. But that is just a guess.
This is the HA system state:
And this would be your addon's log:
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
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2024/04/26 20:31:07 # logspout v3.2.14-hassio-3 by gliderlabs
2024/04/26 20:31:07 # adapters: multiline raw syslog tcp tls loki gelf udp logstash
2024/04/26 20:31:07 # options :
2024/04/26 20:31:07 persist:/data/routes
2024/04/26 20:31:07 Using Loki url: https://xxx:[email protected]/api/prom/push
2024/04/26 20:31:07 # jobs : http[health,logs,routes]:80 pump routes
2024/04/26 20:31:07 # routes :
# ADAPTER ADDRESS CONTAINERS SOURCES OPTIONS
# loki+https xxxx-xxxx-xxx.grafana.net map[]
And that's it. I think I have read somewhere that I should be able to see logs here. Is that correct? The CONTAINERS
column is empty, does that indicate an issue?
Thanks a lot!