logstash-input-cloudwatch-logs
logstash-input-cloudwatch-logs copied to clipboard
Install breaks on upgrade
First, I want to say thank you for writing an awesome plugin for logstash. The only issue I have is that after an upgrade I can't seem to get the plugin to reinstall. Using either the install method from the gem file or using logstash-plugin install logstash-input-cloudwatch_logs command. I have tried wiping all files on the system that reference cloudwatch_logs but that didn't help either.
I just get the following error when I try to restart logstash of a missing codec.
[2018-11-28T07:28:52,695][ERROR][logstash.plugins.registry] Tried to load a plugin's code, but failed. {:exception=>#<LoadError: no such file to load -- logstash/codecs/cloudtrail>, :path=>"logstash/codecs/cloudtrail", :type=>"codec", :name=>"cloudtrail"} [2018-11-28T07:28:52,738][FATAL][logstash.runner ] The given configuration is invalid. Reason: 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
Using version 6.4.1 of logstash.
verified that it breaks on upgrade. Went from 6.5.1 to 6.5.2. Reinstalling plugin did fix issue tho.
With logstash you always have to re-install non standard plugins after the upgrade
With logstash you always have to re-install non standard plugins after the upgrade
Hi @TrueBurn -- Is this documented anywhere?
@mdebord-dlr Not that I can find on their site but rather after many hours of troubleshooting I found this to be the case and even ended up scripting it to speed up the install process.