AWS CloudWatch Logs streaming to S3 using Firehose
Briefly

At the heart of this solution lies Amazon Firehose, a fully managed service designed to capture, transform, and deliver real-time streaming data to various destinations.
The process involves CloudWatch as the data source, Kinesis Firehose as the conduit, and S3 as the final repository.
To save time and reduce errors, Terraform is utilized to build the infrastructure.
Infrastructure setup includes creating an S3 bucket as the destination, CloudWatch log group, stream, Firehose delivery stream, and IAM role for Firehose.
Read at Medium
[
|
]