Logstash-设置“ config.support_escapes”尚未注册

时间:2018-09-10 09:53:55

标签: logstash config elastic-stack

我在配置ELK堆栈时确实遵循了elastic.co官方文档的描述。按照https://www.elastic.co/guide/en/logstash/master/configuration-file-structure.html#_escape_sequences页的说明,如何设置Logstash启用转义字符,我只是在logstash.yml中取消注释config.support_escapes:true行。 当我在Docker容器中启动ELK堆栈时,出现以下错误:

An unexpected error occurred! {:error=># ArgumentError: Setting "config.support_escapes" hasn't been registered>,
 :backtrace=>["/opt/logstash/logstash-core/lib/logstash/settings.rb:32:in `get_setting'",
"/opt/logstash/logstash-core/lib/logstash/settings.rb:64:in `set_value'",
"/opt/logstash/logstash-core/lib/logstash/settings.rb:83:in `merge'", 
"org/jruby/RubyHash.java:1342:in `each'",
"/opt/logstash/logstash-core/lib/logstash/settings.rb:83:in `merge'", 
"/opt/logstash/logstash-core/lib/logstash/settings.rb:135:in `validate_all'",
"/opt/logstash/logstash-core/lib/logstash/runner.rb:244:in `execute'", 
"/opt/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'",
 "/opt/logstash/logstash-core/lib/logstash/runner.rb:209:in `run'", 
"/opt/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'",
 "/opt/logstash/lib/bootstrap/environment.rb:71:in `(root)'"]}

我在这里想念什么?

0 个答案:

没有答案