I am trying to setup and run Logstash through Docker on a Windows machine. I have started with the references on: https://www.elastic.co/guide/en/logstash/current/docker.html#_custom_images
to create a custom image, which builds fine. During the docker build I have a 'config' and 'pipeline' directories with the logstash.yml and logstash.conf
logstash.yml
node.name MunkeTest
http.host 127.0.0.1
http.port 9600
log.level debug
log.format plain
logstash.conf
input { stdin { } }
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}
when I run the container, I get an error message:
19:04:22.625 [main] FATAL logstash.runner - An unexpected error occurred! {:error=>#<ArgumentError: Setting "" hasn't been registered>, :backtrace=>["/usr/share/logstash/logstash-core/lib/logstash/settings.rb:29:in get_setting'", "/usr/share/logstash/logstash-core/lib/l ogstash/settings.rb:61:in
set_value'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:80:in merge'", "org/jruby/RubyHash.java:1342:in
each'", "/usr/share/logstash/logstash-core/lib/logstash/settings.rb:80:in merge'", "/usr/share/logstash/logstash-core/li b/logstash/settings.rb:115:in
validate_all'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:210:in execute'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in
run'", "/usr/share/logstash/logstash-core/lib/logstash/ru
nner.rb:183:in run'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in
run'", "/usr/share/logstash/lib/bootstrap/environment.rb:71:in `(root)'"]}
I am unsure as to what I need to change to get this up an running. Thanks in advance!