Hello !
I'm running Logstash 6.1.1
I've updated a logstash plugin : logstash-input-udp.
Since this update I'm having apparently a conflict between different versions of jar-dependencies.
Here's what I find in the logs :
Gem::LoadError: You have already activated jar-dependencies 0.3.12, but your Gemfile requires jar-dependencies 0.3.11. Prepending bundle exec
to your command may solve this.
I did some actions, but neither succeeded :
-
Removed the logstash-input-udp plugin
-
Re-installed the plugin and updated it
-
Removed the whole /usr/share/logstash tree and the logstash rpm. Then re-installed Logstash 6.1.1
I always have the same error.
But when re-installing Logstash, instead of having these errors in /var/log/messages ; I'm having now this error in the logstash logs directly :
ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Something is wrong with your configuration.", :backtrace=>["/usr/share/logstash/logstash-core/lib/logstash/config/mixin.rb:89:in config_init'", "/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:128:in
initialize'", "/usr/share/logstash/logstash-core/lib/logstash/filter_delegator.rb:23:in initialize'", "/usr/share/logstash/logstash-core/lib/logstash/plugins/plugin_factory.rb:88:in
plugin'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:114:in plugin'", "(eval):92:in
'", "org/jruby/RubyKernel.java:994:in eval'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:86:in
initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:171:in initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:40:in
execute'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:335:in block in converge_state'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:141:in
with_pipelines'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:332:in block in converge_state'", "org/jruby/RubyArray.java:1734:in
each'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:319:in converge_state'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:166:in
block in converge_state_and_update'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:141:in with_pipelines'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:164:in
converge_state_and_update'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:90:in execute'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:343:in
block in execute'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:24:in `block in initialize'"]}
I'm not a java nor a ruby guru and I'm rather stucked at this point.
Thank you in advance for your help.