I'm using OPNsense 24.1.9_4-amd64 and trying to include the /var/log/system/latest.log file in the files that syslog sends to a remote host.
In System > Settings > Logging > Remote > Applications, there does not seem to be an option that includes that file.
Is it somehow possible to manually include that file?
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
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);
};