New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 input error The AWS Access Key Id you provided does not exist in our records #40
Comments
Just bumped into this. I first did:
And grabbed key + secret from there, inserting them into configs. Now I'm getting the reported "Access Key Id you provided does not exist in our records" message. With my personal account key+secret, it works. With separately created IAM user, I get "Access Denied". When I do:
The IAM user rights work. But not when I insert the key+secret into logstash configs. Without manually configuring the key+secret, trying to rely on instance-profile directly, I get "Access Denied" error. |
Nevermind, I was missing a permission in bucket policy. That's why IAM instance-profile and separate IAM user did not work... Anyway, I can confirm the issue originally reported here. |
I am getting the same error, I am new to AWS. |
@rashmip22 It's been a while and I'm not using logstash anymore, but you need permission something like:
|
@tuukkamustonen thanks, that was my problem |
Thanks a lot! |
(This issue was originally filed by @karasmeitar at elastic/logstash#3193)
I'm trying to get some log files from s3 bucket and put it to elasticsearch.
My config file is:
input {
s3 {
bucket => "dist-platform-qa"
prefix => "es_export_data"
credentials =>"/home/dev/logstash-1.4.2/Aws.config"
region_endpoint => "us-east-1"
}
}
output {
elasticsearch {
host => "localhost"
protocol => "http"
port=> "9200"
index=> "all"
}
}
My Aws.config file:
AWS_ACCESS_KEY_ID = "blabla"
AWS_SECRET_ACCESS_KEY = "blabla"
But i'm still getting errors for my Aws access key(he AWS Access Key Id you provided does not exist in our records).
When i check the permissions with s3cmd i can get files from the bucket and everything is ok.
Any idea?
The text was updated successfully, but these errors were encountered: