Error Beats Logstash

I'm new to elasticsearch, kibana, logstash.
Installed them separatly and works but now I was trying to follow the guide and installed beats as plugin and was succesfull, listed them and appears in the list. Then I started filebeat and it was ok, but when I start logstash with the config file to listen over beast input it isn't working saying that beats isn't found as plugin. any help?

YML

filebeat.prospectors:

  • input_type: log
    paths:
    • \esempi\logstash-tutorial-dataset.log
      output.logstash:
      hosts: ["localhost:5043"]

CONFIG

input{
beats {
port => "5043"
}
}
output {
stdout { codec => rubydebug }
}

ERROR

C:\work\logstash-5.2.1\bin>logstash -f first-pipeline.conf -t
Could not find log4j2 configuration at path /work/logstash-5.2.1/config/log4j2.p
roperties. Using default config which logs to console
18:55:25.469 [LogStash::Runner] ERROR logstash.plugins.registry - Problems loadi
ng a plugin with {:type=>"input", :name=>"beats", :path=>"logstash/inputs/beats"
, :error_message=>"\n\n\tyou might need to reinstall the gem which depends on th
e missing jar or in case there is Jars.lock then resolve the jars with lock_jar s command\n\nno such file to load -- io/netty/netty-tcnative-boringssl-static/1
.1.33.Fork23/netty-tcnative-boringssl-static-1.1.33.Fork23 (LoadError)", :error_
class=>RuntimeError, :error_backtrace=>["C:/work/logstash-5.2.1/vendor/bundle/jr
uby/1.9/gems/jar-dependencies-0.3.10/lib/jar_dependencies.rb:348:in do_require' ", "C:/work/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.10/ lib/jar_dependencies.rb:255:inrequire_jar'", "C:/work/logstash-5.2.1/vendor/bu
ndle/jruby/1.9/gems/jar-dependencies-0.3.10/lib/jar_dependencies.rb:0:in requir e_jar_with_block'", "C:/work/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/jar-dep endencies-0.3.10/lib/jar_dependencies.rb:254:inrequire_jar'", "C:/work/logstas
h-5.2.1/lib/bootstrap/patches/jar_dependencies.rb:6:in require_jar'", "C:/work/ logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-input-beats-3.1.12-java/lib /logstash-input-beats_jars.rb:5:in(root)'", "org/jruby/RubyKernel.java:1040:in
require'", "C:/work/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5 /lib/polyglot.rb:65:inrequire'", "C:/work/logstash-5.2.1/vendor/bundle/jruby/1
.9/gems/logstash-input-beats-3.1.12-java/lib/logstash/inputs/beats.rb:1:in (roo t)'", "org/jruby/RubyKernel.java:1040:inrequire'", "C:/work/logstash-5.2.1/ven
dor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'", "C:/w ork/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-input-beats-3.1.12-java /lib/logstash/inputs/beats.rb:8:in(root)'", "C:/work/logstash-5.2.1/logstash-c
ore/lib/logstash/plugins/registry.rb:1:in (root)'", "C:/work/logstash-5.2.1/log stash-core/lib/logstash/plugins/registry.rb:151:inlegacy_lookup'", "C:/work/lo
gstash-5.2.1/logstash-core/lib/logstash/plugins/registry.rb:133:in lookup'", "C :/work/logstash-5.2.1/logstash-core/lib/logstash/plugins/registry.rb:175:inloo
kup_pipeline_plugin'", "C:/work/logstash-5.2.1/logstash-core/lib/logstash/plugin
.rb:129:in lookup'", "org/jruby/RubyKernel.java:1079:ineval'", "C:/work/logst
ash-5.2.1/logstash-core/lib/logstash/pipeline.rb:452:in plugin'", "(eval):8:ininitialize'", "C:/work/logstash-5.2.1/logstash-core/lib/logstash/pipeline.rb:98
:in initialize'", "C:/work/logstash-5.2.1/logstash-core/lib/logstash/runner.rb: 252:inexecute'", "C:/work/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/clamp-0.
6.5/lib/clamp/command.rb:67:in run'", "C:\\work\\logstash-5.2.1\\lib\\bootstrap \\environment.rb:71:in(root)'"]}
18:55:25.515 [LogStash::Runner] FATAL logstash.runner - The given configuration
is invalid. Reason: Couldn't find any input plugin named 'beats'. Are you sure t
his is correct? Trying to load the beats input plugin resulted in this error: Pr
oblems loading the requested plugin named beats of type input. Error: RuntimeErr
or

    you might need to reinstall the gem which depends on the missing jar or

in case there is Jars.lock then resolve the jars with lock_jars command

no such file to load -- io/netty/netty-tcnative-boringssl-static/1.1.33.Fork23/n
etty-tcnative-boringssl-static-1.1.33.Fork23 (LoadError)

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