Skip to content

Commit

Permalink
feat(collection): enable cloudwatch logs discovery
Browse files Browse the repository at this point in the history
Configure daily discovery event. This can be hardcoded to reduce
configuration fatigue.
  • Loading branch information
jta committed Dec 13, 2023
1 parent abe8bd5 commit feef232
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/collection/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ Resources:
- Outputs.WriterRole
LogGroupNamePrefixes: !Join [",", !Ref LogGroupNamePrefixes]
LogGroupNamePatterns: !Join [",", !Ref LogGroupNamePatterns]
DiscoveryRate: "24 hours"
NameOverride: !Ref NameOverride
SubscriberLogGroupSubscription:
Type: AWS::Logs::SubscriptionFilter
Expand Down
4 changes: 4 additions & 0 deletions integration/tests/collection.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ variables {
"s3:ListBucket",
"s3:PutBucketNotification",
"s3:PutLifecycleConfiguration",
"scheduler:GetSchedule",
"scheduler:CreateSchedule",
"scheduler:UpdateSchedule",
"scheduler:DeleteSchedule",
"sns:CreateTopic",
"sns:DeleteTopic",
"sns:GetTopicAttributes",
Expand Down

0 comments on commit feef232

Please sign in to comment.