I am trying to create the metric filter for the Lambda duration so that if the lambda exceeds 5-sec duration it should create an alarm:
Filter and pattern syntax - Amazon CloudWatch Logs
REPORT RequestId: 12345 Duration: 280.00 ms Billed Duration: 280 ms Memory Size: 512 MB Max Memory Used: 98 MB Init Duration: 637.73 ms
I want to filter this value.
Duration: 280.00 ms
{ $.Duration >= 200.00 }
trying with this filter it doesn't seem to work.