Sharing CloudWatch Dashboard with logs widgets

0

Hello,

I have shared a CW Dashboard via SSO. The dashboard contains CW logs and metrics widgets. Only the metrics widgets contain data. The logs widgets remain empty, no data displayed (only within the AWS console). I have shortly tried to give the dashboard sharing role admin privilidges, but the log widgets still remained empty. What am I missing?

Best regards, Andriy

Andriy
已提问 8 个月前361 查看次数
1 回答
0

By default, log data is not visible for others who you share the dashboard with.

On Dashboard in console,

Click Actions > Share Dashboard > Resources - IAM Role > Edit policy to include permissions as follows:

{
            "Effect": "Allow",
            "Action": [
                "logs:FilterLogEvents",
                "logs:StartQuery",
                "logs:StopQuery",
                "logs:GetLogRecord"
            ],
            "Resource": [
                "SharedLogGroup1ARN",
                "SharedLogGroup2ARN"
           ]
}

Read more on documentation for detailed instructions.

[1] https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-dashboard-sharing.html#share-cloudwatch-dashboard-logwidget

profile pictureAWS
支持工程师
已回答 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则