The requested URL was not found on this server. 不管你信不信,反正我是没找到

logstash 6.0 启动失败,ruby的错误信息

Logstash | 作者 carvendy | 发布于2017年11月29日 | 阅读数:5251

$ sudo ./bin/logstash -f config/log4j-es.conf 


Sending Logstash's logs to /home/carvendy/dev/tools/logstash-6.0.0/logs which is now configured via log4j2.properties
[2017-11-29T10:53:24,197][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"/home/carvendy/dev/tools/logstash-6.0.0/modules/fb_apache/configuration"}
[2017-11-29T10:53:24,200][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"/home/carvendy/dev/tools/logstash-6.0.0/modules/netflow/configuration"}
[2017-11-29T10:53:24,350][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2017-11-29T10:53:24,616][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}
[2017-11-29T10:53:24,674][ERROR][logstash.agent           ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of #, input, filter, output at line 8, column 1 (byte 68) after ", :backtrace=>["/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/compiler.rb:42:in `compile_ast'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/compiler.rb:50:in `compile_imperative'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/compiler.rb:54:in `compile_graph'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/compiler.rb:12:in `block in compile_sources'", "org/jruby/RubyArray.java:2486:in `map'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/compiler.rb:11:in `compile_sources'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/pipeline.rb:107:in `compile_lir'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/pipeline.rb:49:in `initialize'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/pipeline.rb:215:in `initialize'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/pipeline_action/create.rb:35:in `execute'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/agent.rb:335:in `block in converge_state'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/agent.rb:141:in `with_pipelines'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/agent.rb:332:in `block in converge_state'", "org/jruby/RubyArray.java:1734:in `each'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/agent.rb:319:in `converge_state'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/agent.rb:166:in `block in converge_state_and_update'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/agent.rb:141:in `with_pipelines'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/agent.rb:164:in `converge_state_and_update'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/agent.rb:90:in `execute'", "/home/carvendy/dev/tools/logstash-6.0.0/logstash-core/lib/logstash/runner.rb:362:in `block in execute'", "/home/carvendy/dev/tools/logstash-6.0.0/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:24:in `block in initialize'"]}
已邀请:

要回复问题请先登录注册