Monday, March 18, 2019

Tricks: AWS Cloudwatch log subscription


Publish the logs to your choice of destination and avoid dependency of publishing logic in your code https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html

We used lambda subscription model and streamed the logs to storage of our choices like ElasticSearch, Splunk etc. without impacting the running the application code.


No comments: