I think you can also just add "message('Destination timeout has elapsed, closing connection; fd=')" at the end of the exclude line.
################################################################################# not captured elsewhere, but relevant, send to system[__].log################################################################################filter f_local_system { not filter({{ all_filters|join(') and not filter(') }}) and level(notice..emerg) and not message('Destination timeout has elapsed, closing connection; fd=')};destination d_local_system { file( "/var/log/system/system_${YEAR}${MONTH}${DAY}.log" create-dirs(yes) );};log { source(s_all); filter(f_local_system); destination(d_local_system);};{% endif %}
/usr/local/opnsense/service/templates/OPNsense/Syslog/syslog-ng-local.confCode: [Select]################################################################################# not captured elsewhere, but relevant, send to system[__].log################################################################################filter f_local_system { not filter({{ all_filters|join(') and not filter(') }}) and level(notice..emerg) and not message('Destination timeout has elapsed, closing connection; fd=')};destination d_local_system { file( "/var/log/system/system_${YEAR}${MONTH}${DAY}.log" create-dirs(yes) );};log { source(s_all); filter(f_local_system); destination(d_local_system);};{% endif %}I hope this helps someone.Cheers,