Hi Team,
I just downloaded logstash (version 7.1.0) for linux and trying to start it. But it get failed with the following error.
[dev@devlinux bin]$ ./logstash -f /home/dev/Desktop/LOGSTASH/logstash-simple.conf
Sending Logstash logs to /media/sf_ELK/logstash-7.1.0.tar/logstash-7.1.0/logs which is now configured via log4j2.properties
[2019-05-21T05:38:23,289][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2019-05-21T05:38:23,387][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.1.0"}
[2019-05-21T05:38:47,031][INFO ][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=>{:removed=>, :added=>[http://localhost:9200/]}}
[2019-05-21T05:38:47,591][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=>"http://localhost:9200/"}
warning: thread "[main]-pipeline-manager" terminated with exception (report_on_exception is true):
java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/afterburner/AfterburnerModule
at com.jrjackson.JrJacksonRuby.__parse(JrJacksonRuby.java:75)
at com.jrjackson.JrJacksonRuby.parse(JrJacksonRuby.java:63)
at com.jrjackson.JrJacksonRuby$INVOKER$s$2$0$parse.call(JrJacksonRuby$INVOKER$s$2$0$parse.gen)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:835)
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:183)
at
Please find the content of the logstash configuration file.
input { stdin { } }
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}
Please provide a solution to start the logstash