1 2 3 4 5 6
# Template the destination file$template CUSTOM_LOGS,"/var/log/%programname%.log"if $programname == 'KEA-MLTD' then ?CUSTOM_LOGSif $programname == 'KEA-MLTD' then @@(o)REMOTESYSLOG:514if $programname == 'KEA-MLTD' then stop