I have followed this link (https://aws.amazon.com/blogs/mt/get-notified-specific-lambda-function-error-patterns-using-cloudwatch/) to create and pull error logs in AWS Lambda. N