What problem does it solve?
Redshift's in-cluster SYS_* monitoring views have limited retention and querying them adds load to the running cluster, making historical or high-volume system-table analysis impractical. This Skill enables publishing those system tables to S3 Tables as Apache Iceberg tables and querying them off-cluster at scale.
Core Features & Use Cases
- Enable and verify log publishing: Turn on S3 Tables log publishing for Provisioned clusters or Serverless namespaces, confirm publishing status, and resolve the exact S3 Tables namespace from the API.
- Query published system tables: Run SQL against sys_query_history, sys_query_text, sys_connection_log, and other SYS_* tables from Athena, Redshift auto-mounted catalogs, or external schemas.
- Security and permissions setup: Apply least-privilege IAM policies, dual-principal KMS key policies, Lake Formation registration, and audit alarms for sensitive query_text data.
- Use Case: Build a weekly dashboard of the longest-running queries and failed authentication attempts across all Redshift clusters in an account, without touching the live clusters.
Quick Start
Ask the agent to enable S3 Tables log publishing for your Redshift cluster and show the ten longest-running queries from the past week using Athena.