-
Notifications
You must be signed in to change notification settings - Fork 27
ERROR: Could not find a valid gem 'logstash-core' (< 2.0.0, >= 1.4.0) in any repository #21
Comments
@Sandeepgsn try using the GEM in rubygems https://rubygems.org/gems/logstash-input-dynamodb |
@marcosnils I changed the version in the gemspec file from |
@sgarg-symphy I'm not the owner of this repo, I just maintain forked versions of this library because seems like AWS dropped support for this. I've pushed the gems in ruby gems and the ones there work for me. |
Struggling with the same issue. @marcosnils I have tried using the gems from https://rubygems.org/gems/logstash-input-dynamodb. That didn't work either. If possible can you please list out the steps. Thank you |
@vamcyleonardo how are you installing the gem? and in which logstash version? |
@vamcyleonardo just updated the logstash-input-dynamodb gem in rubygems. Try now. |
Thank you for your response. I will try it. |
@vamcyleonardo don't clone that repo, install the gem from rubygems. Which logstash version are you using? |
@vamcyleonardo use the gem from ruby gems. Don't clone and build from this repo. |
gem install logstash-input-dynamodb:'> 2' |
gem is there https://rubygems.org/gems/logstash-input-dynamodb. Try removing the :'> 2' from the end |
maybe, give it a try |
@vamcyleonardo it should work, that's how I build my logstash docker images. Maybe if you try a clean installation it works. If you don't want to deal with all this 💩 you can just use our docker image https://hub.docker.com/r/mantika/logstash-dynamodb-streams/ |
U sure the credentials you're specifying have the correct access? These are the policies you need {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "pointerTable0",
"Effect": "Allow",
"Action": [
"dynamodb:BatchGetItem",
"dynamodb:BatchWriteItem",
"dynamodb:DeleteItem",
"dynamodb:GetItem",
"dynamodb:PutItem",
"dynamodb:CreateTable",
"dynamodb:Query",
"dynamodb:Scan",
"dynamodb:UpdateItem",
"dynamodb:DescribeStream",
"dynamodb:DescribeTable",
"dynamodb:GetRecords",
"dynamodb:GetShardIterator",
"dynamodb:ListStreams"
],
"Resource": [
"<your arn>:table/*cptr"
]
},{
"Sid": "streamReading1",
"Effect": "Allow",
"Action": [
"dynamodb:DescribeStream",
"dynamodb:DescribeTable",
"dynamodb:Scan",
"dynamodb:ListStreams",
"dynamodb:GetShardIterator",
"dynamodb:GetRecords"
],
"Resource": [
"<table ARN>",
"<stream ARN>"
]
}
]
} |
Remember that you also need to enable the table stream in dynamoDB |
When running the docker image, i get "Couldn't find any input plugin named 'dynamodb'". Any idea why? |
Which image are you running? V1 or v2? sent from mobile On Aug 24, 2016 7:22 PM, "Mike Colarusso" [email protected] wrote:
|
I tried latest and 2 From: Marcos Nils Which image are you running? V1 or v2? sent from mobile On Aug 24, 2016 7:22 PM, "Mike Colarusso" <[email protected]mailto:[email protected]> wrote:
— |
@mcolarusso I've just updated the images, I believe those were outdated. Can you please update and try again? |
@marcosnils That seems to have fixed the issue. |
What is this command "bin/plugin" ? |
Hello, I tried using the mantika's Docker image and I had this problem: Pipeline aborted due to error", :exception=>com.amazonaws.AmazonClientException: Unable to execute HTTP request: dynamodb.us-east-1.amazonaws.com, :backtrace=>["com.amazonaws.http.AmazonHttpClient.executeHelper(com/amazonaws/http/AmazonHttpClient.java:618)" Any idea what's going on here? |
@feedtherich can u share your config? |
maybe i'm doing this wrong. i'm new to docker. i am just running this script:
|
@feedtherich if you're using the "latest" image you need to setup the output plugin as follows: output { note that hosts is pluran and an array of values. |
Thanks. Thanks. On Sat, Sep 10, 2016 at 3:43 PM, Marcos Nils [email protected]
|
I am unable to install this plugin on my EC2 machine(Amazon linux). when I try this command: |
I may be wrong, but All other packets look like https://rubygems.org/downloads/dynamodb-1.2.1.gem |
While executing below command:
jruby -S gem install --local logstash-input-dynamodb-1.0.0-java.gem
Getting error:
ERROR: Could not find a valid gem 'logstash-core' (< 2.0.0, >= 1.4.0) in any repository
The text was updated successfully, but these errors were encountered: