Bug logstash

hi,
when I launch logstash configuration.

input {
file {
path => "/elasticsearch/data/elastic_stack/logstash-2.4.0/projects.csv"
start_position => "beginning"}}
filter {
xml {source => "message"}}
output{
stdout { codec => rubydebug }
elasticsearch { hosts => "elasticsearch"
protocol=> http
cluster => zakaria
port => 9201
index=> "service_index"}}

I had this error:
Settings: Default pipeline workers: 2
Pipeline aborted due to error {:exception=>"LogStash::ConfigurationError", :backtrace=>["/elasticsearch/data/elastic_stack/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/log
stash-core-2.4.0-java/lib/logstash/config/mixin.rb:88:in config_init'", "org/jruby/RubyHash.java:1342:ineach'", "/elasticsearch/data/elastic_stack/logstash-2.4.0/vendo
r/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/config/mixin.rb:72:in config_init'", "/elasticsearch/data/elastic_stack/logstash-2.4.0/vendor/bundle/jruby/ 1.9/gems/logstash-core-2.4.0-java/lib/logstash/outputs/base.rb:79:ininitialize'", "/elasticsearch/data/elastic_stack/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstas
h-core-2.4.0-java/lib/logstash/output_delegator.rb:74:in register'", "/elasticsearch/data/elastic_stack/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-j ava/lib/logstash/pipeline.rb:181:instart_workers'", "org/jruby/RubyArray.java:1613:in each'", "/elasticsearch/data/elastic_stack/logstash-2.4.0/vendor/bundle/jruby/1.9 /gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:181:instart_workers'", "/elasticsearch/data/elastic_stack/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-c
ore-2.4.0-java/lib/logstash/pipeline.rb:136:in run'", "/elasticsearch/data/elastic_stack/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstas h/agent.rb:491:instart_pipeline'"], :level=>:error}
stopping pipeline {:id=>"main"}

There's a known bug in Logstash 2.4.0 that hides the actual error message. I suggest you upgrade so you can see what it's really complaining over.

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