Skip to content

Commit

Permalink
Update the database instance CloudWatch log group
Browse files Browse the repository at this point in the history
This log group that is created should match the format that we are now
pushing to the instances' CloudWatch Agent configuration.
  • Loading branch information
mcdonnnj committed Aug 28, 2024
1 parent 8bbaeb4 commit 56f6f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/nvdsync_failure_alarms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "aws_cloudwatch_log_group" "instance_logs" {
#
# We have to account for the fact that the local hostname on the
# instance drops the local domain name.
name = "/instance-logs/${split(".", each.value)[0]}"
name = "${local.cloudwatch_agent_log_group_base}/${split(".", each.value)[1]}/${split(".", each.value)[0]}"
}

# Create a log metric filter that bumps a metric when a syslog
Expand Down

0 comments on commit 56f6f0b

Please sign in to comment.