Thanks.
The processing of the rsyslog server is working normal for the regular log files.
Also coming from other servers.
It’s only the openhab log that is creating these random directories. (See image)
I only use one template:
$template RemInputLogs, “/cam/remotelogs/%FROMHOST-IP%/%APP-NAME%/%PROGRAMNAME%.log” . ?RemInputLogs
I’m afraid I can’t help you with that.
Personally I’m sending my logs to a Graylog server and use graylog “extractors” to get the items, state, etc…
Thank you very much! Works perfectly.
Just a quick note here: If you want to bring your “openhab.log” to Syslog, than you have to edit the following logger: