后端与数据库

querying-aws-cloudwatch

aws/agent-toolk…-for-aws

Runs SQL queries on CloudWatch Logs data exported as Apache Iceberg tables in S3 Tables. Covers VPC Flow Logs, WAF logs, CloudFront access logs, Route 53 resolver logs, Network Firewall logs, EKS audit logs, Verified Access logs, SES logs, VPC Lattice logs, Step Functions logs, NLB access logs, and 20+ other AWS vended data sources. Applies when analyzing network traffic, investigating security incidents, querying exported logs with SQL, enabling S3 Tables integration, configuring log export, correlating logs with other data, or running Athena queries on the aws-cloudwatch table bucket. Trigger phrases: query logs with SQL, analyze logs in Athena, SQL on VPC flow logs, investigate network traffic, run SQL on exported logs, enable S3 Tables for CloudWatch, correlate logs, historical log analysis, set up log querying.

  • 5642 次安装
  • 3300 星标
  • 收录于

安装命令

npx skills add https://github.com/aws/agent-toolkit-for-aws --skill querying-aws-cloudwatch

SKILL.md

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

User intent Use this skill? Alternative
Run SQL across large volumes of log data Yes —
Correlate logs with S3 metadata or other tables Yes — join across catalogs —
Quick log search / pattern matching No CloudWatch Logs Insights (faster for ad-hoc)
Real-time log streaming/tailing No CloudWatch Logs console or logs filter-log-events
Set up alarms on log patterns No CloudWatch Metric Filters / Alarms
Query historical logs before integration was enabled No CloudWatch Logs (no backfill in S3 Tables)

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

User intent Use this skill? Alternative
Run SQL across large volumes of log data Yes —
Correlate logs with S3 metadata or other tables Yes — join across catalogs —
Quick log search / pattern matching No CloudWatch Logs Insights (faster for ad-hoc)
Real-time log streaming/tailing No CloudWatch Logs console or logs filter-log-events
Set up alarms on log patterns No CloudWatch Metric Filters / Alarms
Query historical logs before integration was enabled No CloudWatch Logs (no backfill in S3 Tables)