Skip to content

Latest commit

 

History

History

cloudwatch_log_level

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Cloudwatch Log Level Logs Monitoring

Monitor for logs with a specific log level [INFO, WARN, ERROR etc.] in a service’s cloudwatch logs.

Usage

Remember to check out the variables and outputs to see all options.

module "cloudwatch_log_level" {
  source = "github.com/nsbno/terraform-aws-alarms//modules/cloudwatch_log_level?ref=x.y.z"
  application_name = data.aws_ecs_service.this.name

  alarm_name = "error-monitoring-alarm"
  log_group_name = "my_log_group_name"

  alarm_sns_topic_arns = [data.aws_sns_topic.degraded.arn]
}