diff --git a/aws/eks/cloudwatch_log.tf b/aws/eks/cloudwatch_log.tf index 5904a8a0b..29908e455 100644 --- a/aws/eks/cloudwatch_log.tf +++ b/aws/eks/cloudwatch_log.tf @@ -40,7 +40,7 @@ resource "aws_cloudwatch_log_metric_filter" "web-500-errors" { resource "aws_cloudwatch_log_metric_filter" "celery-error" { count = var.cloudwatch_enabled ? 1 : 0 name = "celery-error" - pattern = "?\"ERROR/.*Worker\" ?\"ERROR/MainProcess\"" + pattern = "%ERROR/.*Worker|ERROR/MainProcess%" log_group_name = aws_cloudwatch_log_group.notification-canada-ca-eks-application-logs[0].name metric_transformation {