elasticsearch/logstash 和 logstash-contrib:找不到任何名为 'x' 的插件
elasticsearch/logstash and logstash-contrib: Couldn't find any plugin named 'x'
我正在尝试将 'cloudtrail' 编解码器与 logstash 1.4.2 一起使用,它位于 logstash-contrib 中。我已经将它安装在 ubuntu 发行版上:
sudo /usr/share/elasticsearch/bin/plugin --install elasticsearch/logstash-contrib
我已验证文件存在:
ls /usr/share/elasticsearch/plugins/logstash-contrib/_site/lib/logstash/codecs/cloudtrail.rb
我已将其包含在基本配置中:
input {
s3 {
bucket => "bucketname"
delete => false
codec => "cloudtrail"
....
当我尝试 运行 它时,出现插件错误:
{:timestamp=>"2015-02-06T20:10:25.179000+0000", :message=>"
+---------------------------------------------------------+
| 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 codec plugin named 'cloudtrail'. Are you sure
this is correct? Trying to load the cloudtrail codec plugin resulted
in this error: no such file to load -- logstash/codecs/cloudtrail"}
现在,我看到大多数编解码器都在 /opt/logstash/lib/logstash/codecs
。我需要手动复制它吗(这似乎很糟糕)?我缺少 gem 安装吗?
为了好玩,我把它复制到了 /opt/logstash 目录。好像不对。
根据 docs,您应该可以通过以下方式安装它:
bin/plugin install logstash-codec-cloudtrail
EX:/opt/logstash/bin/plugin 安装 logstash-codec-cloudtrail 适用于我的 logstash 1.5.0.1。
我正在尝试将 'cloudtrail' 编解码器与 logstash 1.4.2 一起使用,它位于 logstash-contrib 中。我已经将它安装在 ubuntu 发行版上:
sudo /usr/share/elasticsearch/bin/plugin --install elasticsearch/logstash-contrib
我已验证文件存在:
ls /usr/share/elasticsearch/plugins/logstash-contrib/_site/lib/logstash/codecs/cloudtrail.rb
我已将其包含在基本配置中:
input {
s3 {
bucket => "bucketname"
delete => false
codec => "cloudtrail"
....
当我尝试 运行 它时,出现插件错误:
{:timestamp=>"2015-02-06T20:10:25.179000+0000", :message=>"
+---------------------------------------------------------+
| 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 codec plugin named 'cloudtrail'. Are you sure
this is correct? Trying to load the cloudtrail codec plugin resulted
in this error: no such file to load -- logstash/codecs/cloudtrail"}
现在,我看到大多数编解码器都在 /opt/logstash/lib/logstash/codecs
。我需要手动复制它吗(这似乎很糟糕)?我缺少 gem 安装吗?
为了好玩,我把它复制到了 /opt/logstash 目录。好像不对。
根据 docs,您应该可以通过以下方式安装它:
bin/plugin install logstash-codec-cloudtrail
EX:/opt/logstash/bin/plugin 安装 logstash-codec-cloudtrail 适用于我的 logstash 1.5.0.1。