Hi all,
I have installed Elasticsearch, Logstash and Kibana with X-packs, in version 6.1.1
During the start of Logstash, I receive this FATAL:
[FATAL] 2018-01-08 10:49:01.377 [main] runner - An unexpected error occurred! {:error=>#<TypeError: no implicit conversion of nil into String>, :backtrace=>["org/jruby/RubyFileTest.java:96:in directory?'", "org/jruby/RubyFileTest.java:88:in
directory?'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:464:in block in value'", "org/jruby/RubyKernel.java:1741:in
tap'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:463:in value'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:60:in
get_value'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/environment.rb:84:in block in LogStash'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:121:in
block in post_process'", "org/jruby/RubyArray.java:1734:in each'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:120:in
post_process'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/util/settings_helper.rb:26:in post_process'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/runner.rb:218:in
execute'", "/opt/tibco/elk_atos/product/logstash-6.1.1/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/runner.rb:214:in
run'", "/opt/tibco/elk_atos/product/logstash-6.1.1/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "/opt/tibco/elk_atos/product/logstash-6.1.1/lib/bootstrap/environment.rb:67:in
'"]}
I have used the "simply" config file, suggested in the installation and configuration steps (logstash-simple.conf) :
input { stdin { } }
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}
Thanks in advance.
D.