[syslog-ng] Error parsing config and compiling template

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


Hi,
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
/home/amey/install/syslog-ng/share/syslog-ng/include/scl/cim/template.conf
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:
http://www.balabit.com/support/documentation/?product=syslog-ng
mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Regards
-------------- 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