logstash-input-cloudwatch-logs icon indicating copy to clipboard operation
logstash-input-cloudwatch-logs copied to clipboard

Install breaks on upgrade

Open bouncingsoles opened this issue 6 years ago • 4 comments

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.

bouncingsoles avatar Nov 28 '18 13:11 bouncingsoles

verified that it breaks on upgrade. Went from 6.5.1 to 6.5.2. Reinstalling plugin did fix issue tho.

rauvolaj avatar Dec 06 '18 15:12 rauvolaj

With logstash you always have to re-install non standard plugins after the upgrade

TrueBurn avatar Feb 27 '19 18:02 TrueBurn

With logstash you always have to re-install non standard plugins after the upgrade

Hi @TrueBurn -- Is this documented anywhere?

mdebord-dlr avatar Jun 14 '22 19:06 mdebord-dlr

@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.

uni4online avatar Jun 15 '22 06:06 uni4online