[syslog-ng] Java issue with elasticsearch

Komi Elitcha kmw.elitcha at gmail.com
Fri May 25 08:49:43 UTC 2018


Good day all,

I'm new to this mailing list.

I'm setting up syslong-ng+elasticsearch+kibana on an Ubuntu 18.04; i'm 
getting the following output/error from command: ]#syslog-ng -Fve


Error parsing destination, destination plugin java not found in block 
destination elasticsearch2 (at 
/usr/share/syslog-ng/include/scl/elasticsearch/plugin.conf:58:1):
1
2----->   java(
2----->   ^^^^
3 
class_path("/usr/lib/syslog-ng/3.15/java-modules/*.jar:/usr/lib/syslog-ng/3.15/java-modules/elastic-jest-client/*.jar:/opt/syslog-ng/jre1.8.0_171/lib//*.jar")
4 class_name("org.syslog_ng.elasticsearch_v2.ElasticSearchDestination")
5           option("index", "*log*")
6           option("type", "syslog")
7           option("server", "localhost")

Included from /etc/syslog-ng/syslog-ng.conf:
90      # Debian only
91      destination d_ppp { file("/var/log/ppp.log"); };
92
93      # Elasticsearch destination
94      destination d_es {
95---->     elasticsearch2(
95---->     ^^^^^^^^^^^^^^^^
96                cluster("syslog-ng")
97                client-lib-dir("/usr/share/elasticsearch/lib/")
98 client-lib-dir("/opt/syslog-ng/jre1.8.0_171/lib/")
99                time-zone("UTC")
100               cluster-url("http://localhost:9200")


Any help is welcome.

Thanks.



More information about the syslog-ng mailing list