gpt4 book ai didi

amazon-web-services - ec2 实例上的 amazon_es 输出插件安装错误?

转载 作者:行者123 更新时间:2023-12-04 08:01:20 26 4
gpt4 key购买 nike

我正在尝试安装 this我的亚马逊 Linux AMI EC2 实例上的插件。正常安装使用bin/logstash-plugin install logstash-output-amazon_es给我错误:

Error Bundler::InstallError, retrying 1/10 An error occurred while installing faraday_middleware (0.10.0), and Bundler cannot continue. Make sure that gem install faraday_middleware -v '0.10.0' succeeds before bundling



所以我尝试克隆存储库并使用 gem build logstash-output-amazon_es.gemspec 构建插件.这成功了:
sudo bin/logstash-plugin install logstash-output-amazon_es-0.3.gem

Validating logstash-output-amazon_es-0.3.gem
Installing logstash-output-amazon_es
Installation successful



但是当我做一个 configtest在我的 logstash 配置文件中,它抛出了一个错误:

The given configuration is invalid. Reason: Couldn't find any output plugin named 'amazon_es'. Are you sure this is correct? Trying to load the amazon_es output plugin resulted in this error: no such file to load -- logstash/outputs/amazon_es {:level=>:fatal}



我在这里做错了什么?

最佳答案

我成功安装了 logstash-output-amazon-es 插件。以下是有效的命令:

cd/usr/share/logstash
sudo bin/logstash-plugin 安装 logstash-output-amazon_es

关于amazon-web-services - ec2 实例上的 amazon_es 输出插件安装错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37830612/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com