Custom Metrics Alarm giving insufficient data

I worked on adding metric alarm to trigger when files not uploaded . but it keeps staying in insufficient data state , I want to be able make it in OK state or to test it in alram state

Here is my code

resource "aws_cloudwatch_log_metric_filter" "not-uploaded-materialaize" {
  name           = "files-not-uploaded"
  pattern=  "Failure Not uploaded"
  log_group_name = data.aws_cloudwatch_log_group.example.name

  metric_transformation {
    name      = "files-not-uploaded"
    namespace = "Materialaize-not-uploaded"
    value     = "1"
    default_value = "0" 
    unit = "Count"
  }
}
resource "aws_cloudwatch_metric_alarm" "materialize-files-not-uploaded" {
  alarm_name                = "not-upload-files-alarm"
  comparison_operator       = "GreaterThanOrEqualToThreshold"
  evaluation_periods        = "2"
  metric_name               = aws_cloudwatch_log_metric_filter.not-uploaded-materialaize.name
  namespace                 = "Materialaized-files-not-uploaded"
  period                    = "120"
  statistic                 = "Average"
  threshold                 = "2"
  unit                      = "Count"
  alarm_description         = "This metric monitors files not uploaded alarms"
  insufficient_data_actions = [ ]
}

Can you please tell what i am missing .Preformatted text