我想在配置文件中使用logstash contrib plugin riemann。运行logstash时出现错误:
An unexpected error occurred. This is probably a bug. |
| You can find help with this problem in a few places: |
| |
| * chat: #logstash IRC channel on freenode irc. |
| IRC via the web: http://goo.gl/TI4Ro |
| * email: logstash-users@googlegroups.com |
| * bug system: https://logstash.jira.com/ |
| |
+---------------------------------------------------------+
The error reported is:
Couldn't find any output plugin named 'riemann'. Are you sure this is correct? Trying to load the riemann output plugin resulted in this error: no such file to load -- logstash/outputs/riemann
我有一个文件夹,其中存在和提取logstash及其contrib tar。
我正在使用logstash 1.4.1
和logstash-contrib-1.4.1
。
我也尝试过contrib的手动安装:
./bin/plugin install contrib
但运行命令时控制台上没有任何内容。
任何帮助?
修改
在ls上,以下是我的目录结构:
ls
elasticsearch-1.1.1 kibana-3.1.0.tar.gz logstash-1.4.1.tar.gz logstash-contrib-1.4.1.tar.gz
elasticsearch-1.1.1.tar.gz logstash-1.4.1 logstash-contrib-1.4.1 riemann-0.2.5.tar.bz2
因此,我在与logstash相同的目录中有untarred contrib。任何IDEA ??
答案 0 :(得分:1)
您应使用命令在logstash-contrib-1.4.1.tar.gz
目录中提取logstash-1.4.1
:
cd logstash-1.4.1
tar zxvf logstash-contrib-1.4.1.tar.gz --strip 1
然后检查lib/logstash/outputs/riemann.rb
是否在logstash-1.4.1
下。