Centralised logging for #aws Lambda, REVISED (2018)
▻https://hackernoon.com/centralised-logging-for-aws-lambda-revised-2018-e88f22aabb0d?source=rss-
First of all, I would like to thank all of you for following and reading my content. My post on centralised logging for AWS Lambda has been viewed more than 20K times by now, so it is clearly a challenge that many of you have run into.In the post, I outlined an approach of using a Lambda function to ship all your Lambda logs from #cloudWatch Logs to a log aggregation service such as Logz.io.In the demo project, I also included functions to:auto-subscribe new log groups to the log-shipping functionauto-update the retention policy of new log groups to X number of days (default is Never Expire which has a long term cost impact)This approach works well when you start out. However, you can run into some serious problems at scale.Mind the concurrencyWhen processing CloudWatch Logs with (...)