[syslog-ng] Error parsing config and compiling template

amey jain amey.jain7 at gmail.com
Tue Feb 23 18:11:00 CET 2016

I was running ./syslog-ng and I got these errors. I am unable to solve
them. I am copying the output here. Please tell me what to do to correct it.
$ sbin/syslog-ng --module-path=/home/amey/install/syslog-ng
Error parsing config, Error compiling template (Unknown template function
"format-json") in
at line 23, column 32:

included from /home/amey/install/syslog-ng/etc/scl.conf line 29, column 1

included from /home/amey/install/syslog-ng/etc/syslog-ng.conf line 8,
column 1

template-function "format-cim" "$(format-json --pair
@timestamp='${R_ISODATE}' --pair @message='${MSG}' --key .cim.* --shift 5
--key _* --key .* --replace-prefix .=_ --key *.*)\n";


syslog-ng documentation:
mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160223/f86cf5c2/attachment.htm 

More information about the syslog-ng mailing list