RuntimeError 500 error with Logstash netflow module

Hi folks,

I am new to ELK stack and trying to setup netflow module in logstash:

command line command : bin/logstash --modules netflow --setup -M netflow.var.input.udp.port=2055 -M netflow.var.elasticsearch.hosts="localhost:9200" -M netflow.var.kibana.host="10.62.xx.xxx:5601" -M "netflow.var.elasticsearch.username=xxxxx" -M "netflow.var.elasticsearch.password=xxxxx"

Getting following error:
[ERROR] 2019-01-28 09:45:41.277 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] sourceloader - Could not fetch all the sources {:exception=>LogStash::ConfigLoadingError, :message=>"Failed to parse the module configuration: [[500] ]", :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/elasticsearch-transport-5.0.5/lib/elasticsearch/transport/transport/base.rb:202:in __raise_transport_error'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/elasticsearch-transport-5.0.5/lib/elasticsearch/transport/transport/base.rb:319:inperform_request'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/elasticsearch-transport-5.0.5/lib/elasticsearch/transport/transport/http/manticore.rb:67:in perform_request'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/elasticsearch-transport-5.0.5/lib/elasticsearch/transport/client.rb:131:inperform_request'", "/usr/share/logstash/logstash-core/lib/logstash/elasticsearch_client.rb:87:in head'", "/usr/share/logstash/logstash-core/lib/logstash/elasticsearch_client.rb:57:incan_connect?'", "/usr/share/logstash/logstash-core/lib/logstash/elasticsearch_client.rb:141:in can_connect?'", "/usr/share/logstash/logstash-core/lib/logstash/config/modules_common.rb:84:inblock in pipeline_configs'", "org/jruby/RubyArray.java:1734:in each'", "/usr/share/logstash/logstash-core/lib/logstash/config/modules_common.rb:56:inpipeline_configs'", "/usr/share/logstash/logstash-core/lib/logstash/config/source/modules.rb:16:in pipeline_configs'", "/usr/share/logstash/logstash-core/lib/logstash/config/source_loader.rb:62:inblock in fetch'", "org/jruby/RubyArray.java:2481:in collect'", "/usr/share/logstash/logstash-core/lib/logstash/config/source_loader.rb:61:infetch'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:138:in converge_state_and_update'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:89:inexecute'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:363:in block in execute'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:24:inblock in initialize'"]}
[ERROR] 2019-01-28 09:45:41.286 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] agent - An exception happened when converging configuration {:exception=>RuntimeError, :message=>"Could not fetch the configuration, message: Failed to parse the module configuration: [[500] ]", :backtrace=>["/usr/share/logstash/logstash-core/lib/logstash/agent.rb:145:in converge_state_and_update'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:89:inexecute'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:363:in block in execute'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:24:inblock in initialize'"]}

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