Iam trying to create the custom cloudwatch metric from the Log Groups
I am trying to create the metric pattern for the status of the email. I just need to monitor the the response in email(success/failure)
My cloudwatch logs look like below
Email status : [EmailStatusResponse{farmId=3846, emailIds='xxx', response='success'}
So, i just need to monitor two cases
response='success'
response='failure'
Please find the below snippet for my configuration

Can anyone pls help me with the error in the filter pattern kindly help!

Wrap this in double quotes.
For you it would be
"response='success'"