Querying Aws Cloudwatch
Serverless SQL over exported CloudWatch Logs in Iceberg tables, with schema-first query guidance for AWS vended sources.
- CCM score
- 74 of 100
- skills.sh installs
- 6.5K
- GitHub stars
- 3.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Athena queries against
aws-cloudwatchS3 Tables for 24 listed data sources, including VPC Flow, WAF, CloudFront, and EKS audit logs - Includes setup via
create-s3-table-integrationandassociate-source-to-s3-table-integration, plus Lake Formation grants for querying - Enforces running
get-tableson the target namespace before any SQL, since schemas differ per data source - Designed for security and network investigations that need SQL and joins; use CloudWatch Logs Insights for quick searches instead
Install
$ npx -y skills add aws/agent-toolkit-for-aws --skill querying-aws-cloudwatch -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Query AWS CloudWatch System Tables
Overview
Works best with the AWS MCP server for sandboxed execution and audit logging. All commands below use the AWS CLI and work in any environment with configured AWS credentials.
The CloudWatch Logs S3 Tables integration exports log data as Apache Iceberg tables in the AWS-managed aws-cloudwatch table bucket. This enables SQL analysis via Amazon Athena and correlation of log data with non-CloudWatch data (S3 metadata, business tables, etc.). Available at no additional storage charge beyond CloudWatch ingestion pricing.
Decision Tree
Details
- Repository
- github.com/aws/agent-toolkit-for-aws
- Categories
- DevOps & Cloud, Databases
- First seen
- Jul 14, 2026
Questions
What does the querying-aws-cloudwatch skill do?
It runs SQL queries on CloudWatch Logs data exported as Apache Iceberg tables in S3 Tables, through Amazon Athena. It covers sources such as VPC Flow Logs, WAF logs, CloudFront access logs and Route 53 resolver logs.
When should I use this skill instead of CloudWatch Logs Insights?
Use it to run SQL across large volumes of log data, or to correlate logs with S3 metadata or other tables. For quick log searches or real-time tailing, the skill's own guidance points to CloudWatch Logs Insights or the CloudWatch Logs console instead.
How do I install the querying-aws-cloudwatch skill?
Run npx -y skills add aws/agent-toolkit-for-aws --skill querying-aws-cloudwatch -y in your project. Once installed, the agent can query exported logs with SQL, investigate network traffic and enable S3 Tables integration.
What must be set up before I can query CloudWatch logs with this skill?
You need the aws-cloudwatch table bucket, created by enabling the CloudWatch Logs S3 Tables integration, plus Lake Formation grants and Athena execution permissions. The skill notes that only logs received after the data source is associated are available, with no backfill.
More from aws/agent-toolkit-for-aws
All 54- Routing Traffic With Route53 And Cloudfront6.5K
- Amazon Elasticache6.4K
- Amazon Aurora Mysql6.2K
- Managing Amazon Msk6K
- Developing Applications On Managed Service For Apache Flink5.9K
- Aws Serverless11.8K
- Aws Iam11.7K
- Aws Observability11.6K
- Aws Containers11K
- Aws Cdk11K
- Aws Billing And Cost Management10.5K
- Aws Cloudformation10.2K
- Amazon Bedrock9.7K
- Aws Messaging And Streaming9.4K
- Aws Sdk Js V3 Usage9.2K
- Aws Sdk Python Usage9K
- Securing S3 Buckets8K
- Connecting To Data Source7.8K
- Creating Secrets Using Best Practices7.7K
- Querying Data Lake7.6K
- Exploring Data Catalog7.6K
- Aws Sdk Swift Usage7.6K
- Connecting Lambda To Api Gateway7.6K
- Storing And Querying Vectors7.6K
Similar to Querying Aws Cloudwatch
More DevOps & Cloudquerying-data-lakeaws/agent-toolkit-for-aws7.6K installsExecutes Athena SQL across default and federated catalogs with workgroup selection and statement safety checks.
querying-aws-s3aws/agent-toolkit-for-aws6.5K installsQueries S3 object metadata, audits bucket changes, and analyzes storage metrics via Athena SQL.
cloudwatchitsmostafa/aws-agent-skills250 installsComprehensive AWS CloudWatch guide covering metrics, logs, alarms, Insights queries, and dashboards with CLI and boto3 examples.
basincloudflare/skills44.6K installsCloudflare Basin workflow guide for streaming events into R2 Iceberg tables, managing catalogs, and querying them.
aws-cloudwatch-investigationgithub/awesome-copilot41.7K starsReusable CloudWatch investigation patterns covering Logs Insights queries, deploy correlation, and blast-radius scoping.
azure-kustomicrosoft/github-copilot-for-azure103K installsQuery and analyze Azure Data Explorer telemetry and logs with KQL for time series and anomaly work.