In this article, I want to show you how we can use the AWS CloudWatch subscription filter for filtering logs and forward them to a lambda function.
Simple Usecase
Filter critical app errors and send a real-time notification to a Slack channel with error information.
Note that I use AWS CDK for creating the infrastructure.
Refer to the original article that I published onĀ https://duleendra.medium.com