What permissions are needed for Cribl Stream to pull an S3 bucket? I’m creating a role for it to use

What permissions are needed for Cribl Stream to pull an S3 bucket? I’m creating a role for it to use.

To pull from the S3 bucket using a collector, you need S3:GetObject and S3:ListBucket permissions as a minimum.

Here is a sample IAM policy you can use:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetObject"
      ],
      "Resource": "arn:aws:s3:::<bucket_name>/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket"
      ],
      "Resource": "arn:aws:s3:::<bucket_name>"
    }
  ]
}
1 UpGoat

If using the S3 input then permissions must be set for both the bucket and the SQS queue. See Amazon S3 | Cribl Docs

2 UpGoats