1

我正在尝试文档中第 6 步中的示例:http: //logstash.net/docs/1.2.1/tutorials/10-minute-walkthrough/

当我运行 logstash 时,我得到:

Using milestone 2 input plugin 'tcp'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.2.1/plugin-milestones {:level=>:warn}
You are using a deprecated config setting "type" set in grok. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. You can achieve this same behavior with the new conditionals, like: `if [type] == "sometype" { grok { ... } }`. If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=>"type", :plugin=><LogStash::Filters::Grok --->, :level=>:warn}
You are using a deprecated config setting "pattern" set in grok. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future.  If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=>"pattern", :plugin=><LogStash::Filters::Grok --->, :level=>:warn}
You are using a deprecated config setting "type" set in date. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. You can achieve this same behavior with the new conditionals, like: `if [type] == "sometype" { grok { ... } }`. If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=>"type", :plugin=><LogStash::Filters::Date --->, :level=>:warn}
Invalid gemspec in [file:/home/bumjvr/logstash/logstash-1.2.1-flatjar.jar!/META-INF/jruby.home/lib/ruby/gems/shared/specifications/rake-10.0.3.gemspec]: no such file to load -- rubygems/dependency
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- base64
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1054)

这是在 Ubuntu 13.04 和 logstash 1.2.1 上

有任何想法吗?!我真的不知道从哪里开始寻找!

4

1 回答 1

0

我建议再次尝试使用最新版本的 Logstash 和文档。

http://logstash.net/docs/1.3.2/tutorials/10-minute-walkthrough/

我相信从那以后文档已经得到纠正。

于 2014-01-06T13:56:01.393 回答