From a7fe7191ae1ecde115fdf9acb89516548e57650f Mon Sep 17 00:00:00 2001 From: Kevin Krumm Date: Mon, 29 Jan 2018 14:56:04 -0600 Subject: [PATCH] docs: Fix for syslog-ng config in the docs (#8160) * fix for syslog-ng config I guess it didn't copy over correctly the last fix. It was reported to not be working I tested this and seems to be okay now at the time. It was showing 00:00 00 0000 * Update Syslog.md --- doc/Extensions/Syslog.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/Extensions/Syslog.md b/doc/Extensions/Syslog.md index 13ba1d9541..77ba1aeea0 100644 --- a/doc/Extensions/Syslog.md +++ b/doc/Extensions/Syslog.md @@ -45,24 +45,24 @@ options { bad_hostname("^gconfd$"); }; - + source s_sys { system(); internal(); - + }; source s_net { tcp(port(514) flags(syslog-protocol)); udp(port(514) flags(syslog-protocol)); }; - + ######################## # 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||$PROGRAM\n") template-escape(yes)); + 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); };