1 Answer
- Newest
- Most votes
- Most comments
2
CloudTrail logs are primarily delivered directly to an S3 bucket. Sending them additionally to CloudWatch Logs is completely optional, and you can disable it to avoid the associated costs from CloudWatch.
VPC flow logs can optionally be sent either to S3 or CloudWatch logs. Configuring them to be delivered directly to an S3 bucket is explained in this documentation article: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs-s3.html. Note that you can save on storage costs and processing costs with Athena queries or other means by configuring the VPC flow logs to use the Parquet format.
Sending logs directly to S3 for those two services won't incur any CloudWatch costs.
Relevant content
- AWS OFFICIALUpdated a month ago