Logstash Server 2016 Server Issues

I have been trying to install and never get past the error below. I am trying to configure this up to pipe both netflow and system logs to the server. Can anyone help?

Sending Logstash logs to E:/logstash-7.6.1/logs which is now configured via log4j2.properties
[2020-03-18T13:56:14,730][FATAL][logstash.runner ]
An unexpected error occurred! {:error=>#<ArgumentError: Setting "modules.-name" hasn't been registered>, :backtrace=>["E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:69:in get_setting'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:102:in set_value'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:121:in block in merge'", "org/jruby/RubyHash.java:1428:in each'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:121:in merge'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:179:in validate_all'", "E:/logstash-7.6.1/logstash-core/lib/logstash/runner.rb:284:in execute'", "E:/logstash-7.6.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "E:/logstash-7.6.1/logstash-core/lib/logstash/runner.rb:242:in run'", "E:/logstash-7.6.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "E:\logstash-7.6.1\lib\bootstrap\environment.rb:73:in `'"]}
[2020-03-18T13:56:14,933][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

Sample Logstash configuration for creating a simple

Beats -> Logstash -> Elasticsearch pipeline.

input {
udp {
port => 11113
type=> "netflow"
codec => netflow {
version=> [5,9,10]
}
}
}

output {
if [type]== "netflow" {
elasticsearch {
hosts => USAWNCLOG01
index =>
"netflow-%{+YYYY.MM.dd}"
}
}
}

[2020-03-18T13:56:14,730][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Setting "modules.-name" hasn't been registered>, :backtrace=>["E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:69:in get_setting'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:102:in set_value'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:121:in block in merge'", "org/jruby/RubyHash.java:1428:in each'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:121:in merge'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:179:in validate_all'", "E:/logstash-7.6.1/logstash-core/lib/logstash/runner.rb:284:in execute'", "E:/logstash-7.6.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "E:/logstash-7.6.1/logstash-core/lib/logstash/runner.rb:242:in run'", "E:/logstash-7.6.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "E:\logstash-7.6.1\lib\bootstrap\environment.rb:73:in <main>'"]} [2020-03-18T13:56:14,933][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit [2020-03-18T14:01:58,655][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Setting "modules.-name" hasn't been registered>, :backtrace=>["E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:69:in get_setting'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:102:in set_value'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:121:in block in merge'", "org/jruby/RubyHash.java:1428:in each'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:121:in merge'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:179:in validate_all'", "E:/logstash-7.6.1/logstash-core/lib/logstash/runner.rb:284:in execute'", "E:/logstash-7.6.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "E:/logstash-7.6.1/logstash-core/lib/logstash/runner.rb:242:in run'", "E:/logstash-7.6.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "E:\\logstash-7.6.1\\lib\\bootstrap\\environment.rb:73:in '"]}
[2020-03-18T14:01:58,858][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:07:07,868][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Setting "modules.-name" hasn't been registered>, :backtrace=>["E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:69:in get_setting'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:102:in set_value'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:121:in block in merge'", "org/jruby/RubyHash.java:1428:in each'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:121:in merge'", "E:/logstash-7.6.1/logstash-core/lib/logstash/settings.rb:179:in validate_all'", "E:/logstash-7.6.1/logstash-core/lib/logstash/runner.rb:284:in execute'", "E:/logstash-7.6.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "E:/logstash-7.6.1/logstash-core/lib/logstash/runner.rb:242:in run'", "E:/logstash-7.6.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "E:\logstash-7.6.1\lib\bootstrap\environment.rb:73:in `'"]}
[2020-03-18T14:07:08,008][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:23:23,029][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.queue", :path=>"E:/logstash-7.6.1/data/queue"}
[2020-03-18T14:23:23,216][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.dead_letter_queue", :path=>"E:/logstash-7.6.1/data/dead_letter_queue"}
[2020-03-18T14:23:23,435][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:27:10,012][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:29:15,122][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:30:17,083][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:34:07,838][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:39:21,388][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:52:09,262][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:53:32,535][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:55:45,252][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:56:43,590][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T14:59:32,030][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T15:00:17,826][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
[2020-03-18T16:40:59,974][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

I would carefully check your logstash.yml to make sure you have not set "modules.-name", since logstash has not loaded anything that knows how to process that.

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