rsyslog, log msgs in a different file

R C cjvijf at gmail.com
Sun Feb 18 02:21:20 UTC 2024


Hello,

I am setting up rsyslog, for ingesting messsages from a switch.

I created a file in /etc/rsyslog.d  that contains this:

$template NetworkLogs,"/var/log/network/%HOSTNAME%-messages.log" *
*.*  ?NetworkLogs
& stop


but the messages from the switch are still ending up in "/var/log/syslog"


what am I missing?


Ron




More information about the ubuntu-users mailing list