[syslog-ng] facility override

Alexandre Santos alexandre.rosas.santos at gmail.com
Fri Jan 17 18:56:14 UTC 2020


Hi,

Is there a way of overriding the facility of the messages on the
destination, besides using a template like:
{ template("$(if ('${LEVEL_NUM}' == '2') '<186>1' $(if ('${LEVEL_NUM}' ==
'3') '<187>1' $(if ('${LEVEL_NUM}' == '4') '<188>1' ${HOST}\\@`HOSTIPV4`
${PROGRAM} ${PID} ${SDATA} ${MESSAGE}\n"); };

Thanks in advance,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200117/a3a689b8/attachment.html>


More information about the syslog-ng mailing list