ruby - 无法安装logtash contrib插件?

标签 ruby elasticsearch installation logstash riemann

我想在配置文件中使用logstash contrib插件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及其贡献的tar。
我正在使用logstash 1.4.1logstash-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所在的目录中未添加贡献。任何的想法??

最佳答案

您应使用以下命令在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.rblogstash-1.4.1下。

关于ruby - 无法安装logtash contrib插件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26993429/

相关文章:

php - 如何在 Debian 7.7 上安装 graphviz?

.net - Wix:将自定义操作中的文件复制到程序目录(Windows 7)

Ruby - 从字符串中删除模式

ruby - 如何解决权限被拒绝@rb_sysopen

elasticsearch - 为并行查询优化 Elasticsearch

elasticsearch - Elasticsearch-如何从所有索引中删除特定别名?

linux - DEBIAN_FRONTEND=noninteractive install -y gcc 之后无法安装 runit

arrays - Set in ruby​​ 的优点

ruby - 有 Perl 替代 ruby​​ 的保护 gem 吗?

Elasticsearch - 根映射定义具有不受支持的参数