Logstash插件未安装

时间:2014-12-26 10:53:02

标签: plugins ubuntu-14.04 logstash apache-kafka

我正在尝试为logstash 1.5.0.beta1 安装 kafka输出插件。
我之前使用命令

完成了它
$LS_HOME/bin/plugin install logstash-output-kafka 

在logstash网站上给出。

但是现在安装给了我以下错误:

Clamp::UsageError: No such sub-command 'logstash-output-kafka'
     signal_usage_error at /home/madhura/Softwares/logstash-1.5.0.beta1/vendor/bundle/jruby/1.9/gems/clamp-0.6.3/lib/clamp/command.rb:103
  find_subcommand_class at /home/madhura/Softwares/logstash-1.5.0.beta1/vendor/bundle/jruby/1.9/gems/clamp-0.6.3/lib/clamp/subcommand/execution.rb:28
  instatiate_subcommand at /home/madhura/Softwares/logstash-1.5.0.beta1/vendor/bundle/jruby/1.9/gems/clamp-0.6.3/lib/clamp/subcommand/execution.rb:17
                execute at /home/madhura/Softwares/logstash-1.5.0.beta1/vendor/bundle/jruby/1.9/gems/clamp-0.6.3/lib/clamp/subcommand/execution.rb:10
                    run at /home/madhura/Softwares/logstash-1.5.0.beta1/lib/logstash/runner.rb:144
                   call at org/jruby/RubyProc.java:271
                    run at /home/madhura/Softwares/logstash-1.5.0.beta1/lib/logstash/runner.rb:171
                   call at org/jruby/RubyProc.java:271
             initialize at /home/madhura/Softwares/logstash-1.5.0.beta1/vendor/bundle/jruby/1.9/gems/stud-0.0.18/lib/stud/task.rb:12

请帮我找到原因并安装插件

1 个答案:

答案 0 :(得分:1)

编辑:从Logstash 1.5.0开始,本机支持Kafka输入/输出,请参阅: https://www.elastic.co/blog/logstash-kafka-intro

在logstash-1.5.0.beta1(至少通过1.5.0.rc2)中,Kafka输入/输出插件附带基本logstash安装:

.../logstash-1.5.0.beta1$ ./bin/plugin list | grep kafka
logstash-input-kafka (0.1.5)
logstash-output-kafka (0.1.3)