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
- Accepted Answerasked 8 months ago
- asked 3 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 5 months ago
is it mandatory to use both kinesis firehose and datastreams or can we achieve by using one to save cost?