I'm trying use multiple pipelines and made some modifications in logstash.yml and now i get this error:
Sending Logstash logs to /opt/bitnami/logstash/logs which is now configured via log4j2.properties
[2019-05-02T18:47:23,615][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Setting "" hasn't been registered>, :backtrace=>["/opt/bitnami/logstash/logstash-core/lib/logstash/settings.rb:36:in `get_setting'", "/opt/bitnami/logstash/logstash-core/lib/logstash/settings.rb:69:in `set_value'", "/opt/bitnami/logstash/logstash-core/lib/logstash/settings.rb:88:in `block in merge'", "org/jruby/RubyHash.java:1419:in `each'", "/opt/bitnami/logstash/logstash-core/lib/logstash/settings.rb:88:in `merge'", "/opt/bitnami/logstash/logstash-core/lib/logstash/settings.rb:137:in `validate_all'", "/opt/bitnami/logstash/logstash-core/lib/logstash/runner.rb:278:in `execute'", "/opt/bitnami/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/opt/bitnami/logstash/logstash-core/lib/logstash/runner.rb:237:in `run'", "/opt/bitnami/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/opt/bitnami/logstash/lib/bootstrap/environment.rb:73:in `<main>'"]}
[2019-05-02T18:47:23,638][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
My logstash.yml:
- pipeline.id: mw
path.config: "/opt/logstash/conf/mw.conf"
- pipeline.id: uw
path.config: "/opt/logstash/conf/uw.conf"
- pipeline.id: gw
path.config: "/opt/logstash/conf/gw.conf"
- pipeline.id: ln
path.config: "/opt/logstash/conf/ln.conf"
- pipeline.id: sp
path.config: "/opt/logstash/conf/sp.conf"
- pipeline.id: spw
path.config: "/opt/logstash/conf/spw.conf"
My pipelines.yml
- pipeline.id: mw
pipeline.workers: 1
path.config: "/opt/logstash/conf/mw.conf"
- pipeline.id: uw
pipeline.workers: 1
path.config: "/opt/logstash/conf/uw.conf"
- pipeline.id: gw
pipeline.workers: 1
path.config: "/opt/logstash/conf/gw.conf"
- pipeline.id: ln
pipeline.workers: 1
path.config: "/opt/logstash/conf/ln.conf"
- pipeline.id: sp
pipeline.workers: 1
path.config: "/opt/logstash/conf/sp.conf"
- pipeline.id: spw
pipeline.workers: 1
path.config: "/opt/logstash/conf/spw.conf"
I tested each of .conf and alr are OK.
How can I fix it?