You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @kaiyan-sheng , nice to see the feature of supporting collect metrics form linkaccount #35540.
And CloudWatch Logs also need this feature, because aws-cloudwatch can not find log groups from the source accounts when using CloudWatch cross-account observability.
{"log.level":"error","@timestamp":"2024-01-21T17:26:53.378Z","log.logger":"input.aws-cloudwatch.cloudwatch_poller","log.origin":{"function":"github.com/elastic/beats/v7/x-pack/filebeat/input/awscloudwatch.(*cloudwatchPoller).run","file.name":"awscloudwatch/cloudwatch.go","file.line":66},"message":"getLogEventsFromCloudWatch failed: error FilterLogEvents with Paginator: operation error CloudWatch Logs: FilterLogEvents, https response error StatusCode: 400, RequestID: 775cd847-41f6-4615-9040-dcc792591455, ResourceNotFoundException: The specified log group does not exist.","service.name":"filebeat","id":"CE9F457D5ABA17C7","ecs.version":"1.6.0"}
DescribeLogGroups API also has provided the parameter includeLinkedAccounts for users to include loggroups from source accounts in a monitoring account.
account-identifiers (list)
When includeLinkedAccounts is set to True , use this parameter to specify the list of accounts to search. You can specify as many as 20 account IDs in the array.
heisenbergye
changed the title
[AWS] Collect metrics from linked accounts
[AWS] Requests Collect Loggroups from linked accounts
Jan 21, 2024
heisenbergye
changed the title
[AWS] Requests Collect Loggroups from linked accounts
[AWS] Requests include loggroups from linked accounts
Jan 21, 2024
Hi @kaiyan-sheng , nice to see the feature of supporting collect metrics form linkaccount #35540.
And CloudWatch Logs also need this feature, because aws-cloudwatch can not find log groups from the source accounts when using CloudWatch cross-account observability.
DescribeLogGroups API also has provided the parameter
includeLinkedAccounts
for users to include loggroups from source accounts in a monitoring account.https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html
thanks a lot
The text was updated successfully, but these errors were encountered: