未安装logstash插件

w7t8yxp5  于 2021-06-08  发布在  Kafka
关注(0)|答案(1)|浏览(471)

我正在尝试为logstash1.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

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

yzxexxkh

yzxexxkh1#

编辑:从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)

相关问题