Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

dependency conflict #101

Open
belliel opened this issue Sep 12, 2022 · 9 comments
Open

dependency conflict #101

belliel opened this issue Sep 12, 2022 · 9 comments

Comments

@belliel
Copy link

belliel commented Sep 12, 2022

logstash 8.4.0

ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "aws-sdk-core":
In snapshot (Gemfile.lock):
aws-sdk-core (= 3.131.5)

In Gemfile:
logstash-input-cloudwatch_logs (= 1.0.3) was resolved to 1.0.3, which depends on
logstash-mixin-aws (>= 4.3.0) was resolved to 5.1.0, which depends on
aws-sdk (~> 2) was resolved to 2.0.1.pre, which depends on
aws-sdk-resources (= 2.0.1.pre) was resolved to 2.0.1.pre, which depends on
aws-sdk-core (= 2.0.1)

logstash-integration-aws was resolved to 7.0.0, which depends on
  aws-sdk-core (~> 3)
@marcjay
Copy link

marcjay commented Nov 4, 2022

Also ran into this issue. @belliel I don't suppose you've got the workaround/fix?

@belliel
Copy link
Author

belliel commented Nov 4, 2022

Downgrade logstash version

@belliel
Copy link
Author

belliel commented Nov 4, 2022

logstash 8.3.3 - working

@marcjay
Copy link

marcjay commented Nov 4, 2022

Many thanks @belliel, I'll try that

@satxroadrunner
Copy link

I also ran into this issue, but I am not wanting to downgrade anything. @lukewaite any chance of a patch or new version?

@koniq
Copy link

koniq commented Jan 13, 2023

Hi guys,
is it possible to make a fix for this? In AWS I need to upgrade Elastic Cloud to 8.x version, to do so it is needed to upgrade logstash to >= 8.4

@nickbabkin
Copy link

Hi guys, here's the fix:
#102

Tested it on local, it works well.
Make sure to run

gem build logstash-input-cloudwatch_logs.gemspec

And then install as a local plugin in Logstash

COPY logstash-input-cloudwatch_logs-1.0.3.gem /usr/share/logstash/
RUN LS_JAVA_OPTS="-Xms512m -Xmx3072m" /opt/logstash/bin/logstash-plugin install /usr/share/logstash/logstash-input-cloudwatch_logs-1.0.3.gem

@shawnh-burst
Copy link

@nickbabkin

Tried your fix, but the underlying gem seems unavailable

Could not find a valid gem 'logstash-mixin-aws-v3sdk'

Am I doing something wrong? Appreciate any insight or if you have this gem somewhere a link to download.

@shawnh-burst
Copy link

shawnh-burst commented Jun 14, 2023

@belliel any chance you have the 'logstash-mixin-aws-v3sdk' gem somewhere? Seems to be no longer available on rubygems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants