I am trying to install this plugin on my amazon Linux AMI EC2 instance. Normal installation using bin/logstash-plugin install logstash-output-amazon_es
gives me error :
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
So I tried cloning the repository and build the plugin using gem build logstash-output-amazon_es.gemspec
. This succeeded :
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
But when I do a configtest
on my logstash configuration file, it throws me an error :
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}
What am I doing wrong here?
I installed the logstash-output-amazon-es plugin successfully. Here are the commands that worked:
cd /usr/share/logstash sudo bin/logstash-plugin install logstash-output-amazon_es
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With