Hi there!
I'm having an issue using Logstash STOMP input plugin. When running my configuration file, i get this error and don't have any on why I get it:
Pipeline error {:pipeline_id=>"server05", :exception=>#<NameError: uninitialized class variable @@schemes in URI
Did you mean? scheme_list>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/3.1.0/gems/onstomp-1.0.12/lib/onstomp/components/uri.rb:28:in `<module:URI>'", "/usr/share/logstash/vendor/bundle/jruby/3.1.0/gems/onstomp-1.0.12/lib/onstomp/components/uri.rb:27:in `<main>'", "org/jruby/RubyKernel.java:1071:in `require'", "/usr/share/logstash/vendor/bundle/jruby/3.1.0/gems/onstomp-1.0.12/lib/onstomp/components.rb:7:in `<main>'", "org/jruby/RubyKernel.java:1071:in `require'", "/usr/share/logstash/vendor/bundle/jruby/3.1.0/gems/onstomp-1.0.12/lib/onstomp.rb:157:in `<main>'", "org/jruby/RubyKernel.java:1071:in `require'", "/usr/share/logstash/vendor/bundle/jruby/3.1.0/gems/logstash-input-stomp-3.0.8/lib/logstash/inputs/stomp.rb:63:in `register'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:237:in `block in register_plugins'", "org/jruby/RubyArray.java:1989:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:236:in `register_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:395:in `start_inputs'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:320:in `start_workers'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:194:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:146:in `block in start'"], "pipeline.sources"=>["/dsimonitor_logstash/logstash/config/di-logstash-sample.conf", "/dsimonitor_logstash/logstash/config/logstash-sample.conf"], :thread=>"#<Thread:0x44b8fd97 /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:134 run>"}
Can you help please?
This is my input configuration:
input {
stomp {
host => "server.com"
port => 46613
destination => "/topic/myTopic"
user => "user"
password => "password"
codec => plain { charset => "Windows-1252" }
tags => ["my_events"]
}
}