1
24.1 Legacy Series / Re: syslog remote destination - possible to include system log?
« on: July 06, 2024, 09:37:14 pm »
Another destination driver & log statement in a custom syslog-ng conf file can be used to accomplish this. It may not survive software updates though.
Ex: /usr/local/etc/syslog-ng.conf.d/syslog-ng-system-log-remote.conf
Ex: /usr/local/etc/syslog-ng.conf.d/syslog-ng-system-log-remote.conf
Code: [Select]
destination system_log_remote_syslog {
network("IP Address Goes Here" port(514) transport(udp));
};
log {
source(s_all);
filter(f_local_system);
destination(system_log_remote_syslog);
};