Struggling to get the images to upload to s3. Everything looks to be configured and I’ve setup the user and permissions with a policy in AWS for the required access to the bucket.
I’m using the following config in my grafana.ini file:
[external_image_storage.s3]
bucket = https://s3-ap-southeast-1.amazonaws.com/myclient-grafana-images/
region = ap-southeast-1
;path =
access_key = MyAccessKey
secret_key = MySecretkey
Had a look in the grafana log after a restart and triggering a few alerts but nothing being logged relating to s3 around the time of the triggered alert.
My permissions policy in aws for the user looks like this:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:PutObjectAcl"
],
"Resource": "arn:aws:s3:::myclient-grafana-images"
}
]
}
This is assigned to the user with the access key from the grafana.ini file.
Anyone any suggestions where I’m going wrong?
Thanks