When using the splunk_hec() driver it fails to pass the syntax check and Syslog-ng PE cannot start with the following error:
Error parsing destination statement, destination plugin splunk_hec not found in /opt/syslog-ng/etc/syslog-ng.conf:36:2-36:12:
35 destination d_splunk_hec {
36----> splunk_hec(
36----> ^^^^^^^^^^
37 url("http://example.server.com:8088/services/collector/event")
38 index("ExampleIndex")
39 token("17a271a3-fba4-412a-8b40-1ac9b31c18ea")
40 );
41 };
Ensure the scl.conf configuration file is present in the following location:
/opt/syslog-ng/etc/scl.conf
Ensure the following is included within the syslog-ng.conf configuration file:
@include "scl.conf"
© ALL RIGHTS RESERVED. Feedback 使用条款 隐私 Cookie Preference Center