S3 destination
The s3 destination writes events to Amazon S3 or any S3-compatible object storage (MinIO, Cloudflare R2, etc.) in batches.
Configuration
Options
| Option | Type | Default | Description |
|---|---|---|---|
bucketName | string | required | S3 bucket name |
bucketRegion | string | required | AWS region (e.g. "us-west-2") |
pathPrefix | string | "" | Key prefix for objects (e.g. "logs/") |
customEndpoint | string | "" | Custom S3 endpoint for S3-compatible services |
accessKeyID | string | "" | AWS access key ID |
secretAccessKey | string | "" | AWS secret access key |
batchSize | int | 100 | Events per batch |
Authentication
Reveald uses the AWS SDK for S3 access. Credentials are resolved in this order:
accessKeyIDandsecretAccessKeyin the config fileAWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYenvironment variables- IAM instance role (EC2, ECS, EKS)
On AWS infrastructure (EC2, ECS, EKS), use IAM roles instead of static credentials. This is more secure and doesn't require credential rotation.