1 Answer
- Newest
- Most votes
- Most comments
0
The pattern you describe is quite common, what you want to do is create a subscription filter for your cloudwatch log group.
Ideally this is the pattern [CW Log Group Filter] -->[Kinesis Firehose] -->[Delivery Stream] -->[S3]
Read the following guide for an example:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html#FirehoseExample
As to your question on a way to periodically delete log streams, CW Log Group retention periods are configurable between 1 day up to 10 years.
answered 4 years ago
Relevant content
- asked 2 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
is it mandatory to use both kinesis firehose and datastreams or can we achieve by using one to save cost?