I think as any system running in a network, Hassio should support the possibility to send all logs and data to a remote syslog.
As I understand, today hassio only supports a local syslog, which is really not sufficient enough.
I think Hassio should support a remote syslog server, both for normal OS logs but also authentication and all logs of what happens in the system.
This means this option needs to support all logs events that are in the system.
This could very well be an add-on that supports sending the data to a remote server using the standardized formats for syslog events.
Preferably also some settings like, what kind of logs do you want to send
It might be alot if you want to send every single log event and maybe you are only interrested in the administrative logs.
And of course, if you send logs, and you change theese settings, thats also a log entry that should be sent.
Although it probably doesn’t cover all use-cases mentioned above, I just want to let you know that I created a Logspout add-on some time ago which can be used to send the container logs to rsyslog or some other log management system.
Thanks! That’s very helpful. I’m running HA on a Synology and netcat is not available but socat is via the SynoCli Network Tools package. It can work the same way:
Just here to upvote this and share our requirements and use case
We need to send logs via syslog to a specified remote server with a configurable destination IP, Port, and ideally, protocol (UDP/TCP). Syslog Facility and Severity parameters should be supported.
I’m in a business context in the IT department and we want to use Home Assistant and Konnected to create entry alarms which leverage installed sensors. The business policy requires that everything log to our remote centralized seim so we can coordinate physical and digital events.
We’d like to send both OS events (ssh login successful, etc) and Home Assistant logbook events (motion detected, light turned off) to the remote syslog.
Michael: Thank You!
This sounds great, installing now. One question for my and others’ info - will it log both traditional linux-y syslogs from the OS and also home assistant logbook events (like motion detected, light turned on, etc)???