Issue starting Logstash

D:\logstash-5.6.3>bin\logstash.bat -f logstash.conf
LoadError: load error: com/jrjackson/jr_jackson -- java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/SerializerProvider
require at org/jruby/RubyKernel.java:1040
(root) at D:/logstash-5.6.3/vendor/bundle/jruby/1.9/gems/jrjackson-0.4.3-java/lib/jrjackson/jrjackson.rb:11
require at org/jruby/RubyKernel.java:1040
(root) at file:/D:/logstash-5.6.3/vendor/jruby/lib/jruby.jar!/jruby/kernel19/kernel.rb:1
require_relative at file:/D:/logstash-5.6.3/vendor/jruby/lib/jruby.jar!/jruby/kernel19/kernel.rb:13
require at org/jruby/RubyKernel.java:1040
(root) at D:/logstash-5.6.3/vendor/bundle/jruby/1.9/gems/jrjackson-0.4.3-java/lib/jrjackson.rb:2
require at org/jruby/RubyKernel.java:1040
(root) at D:/logstash-5.6.3/logstash-core/lib/logstash/json.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at D:/logstash-5.6.3/logstash-core/lib/logstash/json.rb:5
require at org/jruby/RubyKernel.java:1040
(root) at D:/logstash-5.6.3/logstash-core/lib/logstash/instrument/metric_type/gauge.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at D:/logstash-5.6.3/logstash-core/lib/logstash/instrument/metric_type/gauge.rb:4
require at org/jruby/RubyKernel.java:1040
(root) at D:/logstash-5.6.3/logstash-core/lib/logstash/instrument/metric_type.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at D:/logstash-5.6.3/logstash-core/lib/logstash/instrument/metric_type.rb:4
require at org/jruby/RubyKernel.java:1040
(root) at D:\logstash-5.6.3\lib\bootstrap\environment.rb:u6708:

solution?

Please post your config.

input {
beats {
port => 5044
}
}

The filter part of this file is commented out to indicate that it is

optional.

filter {

}

output {
elasticsearch {
hosts => "localhost:9200"
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.