S3
Pull logs from a S3 Bucket to logstash
Step 1 - Ensure Adequate Permissions
The following permissions applied to the AWS IAM Policy being used:
s3:ListBucket
to check if the S3 bucket exists and list objects in it.s3:GetObject
to check object metadata and download objects from S3 buckets.
Below is how your permissions should appear:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "SidID",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::your-bucket/*"
]
}
]
}
Step 2 - Start Sending Logs to a Stack
To start sending logs from any S3 Bucket to your stack you need to setup and apply an AWS input on an available stack.
Logit.io will verify your input before it is applied this should be actioned in less than 24 hours, we will contact you to verify.