Logstash doc示例失败 - 线程“LogStash :: Runner”中的异常

时间:2013-10-15 17:16:21

标签: logstash

我正在尝试从文档中获取步骤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

任何想法?!我不确定在哪里开始寻找!

1 个答案:

答案 0 :(得分:0)

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

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

我认为文档已经更正了。