π AWS Athena Workgroup CloudWatch Metrics are not enabled π’
- Contextual name: π Workgroup CloudWatch Metrics are not enabled π’
- ID:
/ce/ca/aws/athena/workgroup-cloudwatch-metrics
- Located in: π AWS Athena
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
RELIABILITY
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
Ensure that CloudWatch Metrics are enabled for the AWS Athena Workgroup. This setting provides visibility into query performance and operational behavior, enabling effective monitoring, diagnostics, and optimization.
Rationaleβ
Enabling CloudWatch Metrics for Athena Workgroups allows for:
- Performance Monitoring: Track indicators such as query execution time, data scanned, and bytes returned to identify inefficiencies and performance bottlenecks.
- Operational Insights: Understand usage trends, monitor workgroup activity, and detect anomalies or abnormal query patterns.
- Proactive Troubleshooting: Set up alarms and dashboards in CloudWatch based on Athena metrics to detect and respond to errors, timeouts, or degraded performance.
By enabling CloudWatch Metrics, administrators can proactively manage and optimize Athena workgroup performance, ensuring reliable and efficient query execution.
Impactβ
Enabling CloudWatch Metrics may incur additional costs, depending on the volume and frequency of metrics published.
... see more
Remediationβ
Remediationβ
From Command Lineβ
To enable CloudWatch metrics for an AWS Athena Workgroup, use the
update-work-group
command and setPublishCloudWatchMetricsEnabled
to true:aws athena update-work-group
--work-group-name {{work-group-name}}
--configuration-updates '{"PublishCloudWatchMetricsEnabled": true}'
policy.yamlβ
Linked Framework Sectionsβ
Section | Sub Sections | Internal Rules | Policies | Flags |
---|---|---|---|---|
πΌ AWS Foundational Security Best Practices v1.0.0 β πΌ [Athena.4] Athena workgroups should have logging enabled | 1 | |||
πΌ Cloudaware Framework β πΌ Logging and Monitoring Configuration | 49 | |||
πΌ Cloudaware Framework β πΌ System Configuration | 24 |