docs: fix syslog-ng config (#8136)

reported by jaager on discord.
This commit is contained in:
Kevin Krumm
2018-01-23 07:43:18 -06:00
committed by GitHub
parent 87ce23bccd
commit ddc40fcea2

View File

@@ -62,7 +62,7 @@ source s_net {
# Destinations
########################
destination d_librenms {
program("/opt/librenms/syslog.php" template ("$HOST||$FACILITY||$PRIORITY||$LEVEL||$TAG||$R_YEAR-$R_MONTH-$R_DAY $R_HOUR:$R_MIN:$R_SEC||$MSG||$PROGR$
program("/opt/librenms/syslog.php" template ("$HOST||$FACILITY||$PRIORITY||$LEVEL||$TAG||$R_YEAR-$R_MONTH-$R_DAY$R_HOUR:$R_MIN:$R_SEC||$MSG||$PROGRAM\n") template-escape(yes));
};
filter f_kernel { facility(kern); };