The AWS Lambda console now supports Amazon CloudWatch Logs Live Tail, an interactive log streaming and analytics capability which provides real-time visibility into logs, making it easier to develop and troubleshoot Lambda functions.
Customers building serverless applications using Lambda want visibility into the behavior of their Lambda functions in real time. For example, developers want to instantly see the result of their code or configuration changes, and operators want to quickly troubleshoot any critical issues which would prevent the function from operating smoothly. Previously, you had to visit the CloudWatch console to access detailed Lambda function logs or real-time log streams. Now, with Live Tail in Lambda console, you can view and analyze Lambda logs in real time as they become available. This makes it easier for developers to quickly test and validate code or configuration changes in real time, accelerating the author-test-deploy cycle (also known as the “inner dev loop”) when building applications using Lambda. The Live Tail experience also makes it easier and faster for operators and DevOps teams to detect and debug failures and critical errors in Lambda function code, reducing the mean time to recovery (MTTR) when troubleshooting Lambda function errors.
To get started, visit the Lambda console and click “Open CloudWatch Live Tail” button in the code editor. To learn more, visit the launch blog post and Lambda developer guide.
The Live Tail experience in Lambda console is available in all commercial AWS Regions where Lambda and CloudWatch Logs are available. For more information, see the AWS Region table.
Source:: Amazon AWS