Lambda Best practices – Configure Alerts on Lambda logs

As usage of Lambda functions growing day by day, we now need to monitor the logs for any exceptions/errors.


SNS topic created with appropriate subscription – This is to receive alert notifications.

Below are the steps to configure the alerts and generate notification.

  1. Create Sample Lambda function with Exceptions and Errors
  2. Create the Metric filter on the log and create a Metric.
  3. Create an alert on the Metric that you have created.

Leave a Reply

Your email address will not be published. Required fields are marked *