Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Redshift Logs in S3 Tables

Turns on Redshift system log publishing to S3 Tables and queries the history in Athena or Redshift.

Claude's review

7/10 Precise guide to Redshift SYS_ log publishing to S3 Tables, covering Provisioned vs Serverless flag and field differences, KMS principals and dry-run quirks.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Enables Redshift system-table (SYS_*) log publishing to S3 Tables in Apache Iceberg format for both Provisioned clusters and Serverless namespaces, verifies publishing status, and queries the published logs via any Iceberg-compatible engine including Redshift and Athena. Covers system tables such as sys_query_history, sys_query_text, sys_connection_log, sys_query_detail, and sys_session_history. Applies when turning on S3 Tables log publishing for a cluster or namespace, confirming publishing status and locating the S3 Tables namespace, querying non-realtime data from Redshift system tables off-cluster at scale, or building dashboards for Redshift monitoring and auditing, especially for historical or high-volume system-table data beyond the in-cluster SYS_ view retention window. Trigger phrases: publish redshift system table log to s3 tables, enable-logging s3 tables, describe redshift logging status, query redshift system tables in athena or redshift, redshift log exports to iceberg.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: querying-aws-redshift
description: >-
  Enables Redshift system-table (SYS_*) log publishing to S3 Tables in Apache
  Iceberg format for both Provisioned clusters and Serverless namespaces,
  verifies publishing status, and queries the published logs via any
  Iceberg-compatible engine including Redshift and Athena. Covers system tables
  such as sys_query_history, sys_query_text, sys_connection_log,
  sys_query_detail, and sys_session_history. Applies when turning on S3 Tables
  log publishing for a cluster or namespace, confirming publishing status and
  locating the S3 Tables namespace, querying non-realtime data from Redshift
  system tables off-cluster at scale, or building dashboards for Redshift
  monitoring and auditing, especially for historical or high-volume system-table data
  beyond the in-cluster SYS_ view retention window. Trigger phrases: publish
  redshift system table log to s3 tables, enable-logging s3 tables, describe
  redshift logging status, query redshift system tables in athena or redshift,
  redshift log exports to iceberg.
version: 1
argument-hint: "['enable CLUSTER'|'status CLUSTER'|'query SQL'|'configure']"
---

# Query AWS Redshift System Tables

## Overview

**Works best with** the [AWS MCP server](https://docs.aws.amazon.com/aws-mcp/) for sandboxed execution and audit logging. All commands below use the AWS CLI and work in any environment with configured AWS credentials. Use IAM roles or temporary credentials; avoid long-lived access keys.

Redshift can publish **system tables** — the `SYS_*` monitoring data such as `sys_query_history`, `sys_query_detail`, and `sys_connection_log` — to **S3 Tables** as continuously-updated Apache Iceberg tables.

Terminology used throughout: **system table** refers to a `SYS_*` dataset generally, and each one maps 1:1 to a published Iceberg table. Where this skill says **`SYS_` view**, it means specifically the live in-cluster object you query on the cluster itself — that is a view, and it is a different thing from the published S3 Tables copy. This applies to both **Provisioned clusters** and **Serverless namespaces**. It is an opt-in extension of the existing logging APIs. Published tables are read-only, stored in the AWS-managed `aws-redshift` table bucket, and queryable via any Iceberg-compatible engine including Amazon Athena and Amazon Redshift itself.

Querying the S3 Tables copy is preferred over the live in-cluster `SYS_` views when analyzing historical or high-volume system-table data because:

- The in-cluster `SYS_` views have a limited retention window; S3 Tables retains history well beyond it.
- Querying S3 Tables adds **no load** to the running Redshift cluster.
- The logs are Iceberg tables, so they can be queried at scale from any Iceberg-compatible engine and joined with other lake data.

## Decision Tree

| User intent | Use this skill? | Alternative |
...

From aws's repository, Apache-2.0 licence.

Related skills

  • Checked

    dbt platform migration

    Moves a dbt project from one warehouse to another and fixes SQL dialect gaps, so your models build again.

    by dbt-labs 777
    7/101 credit
  • Checked

    CSV and Excel merging

    Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.

    by OneWave-AI 454
    7/101 credit
  • Checked

    BigQuery migration checks

    Validates that tables moved to BigQuery match their source on schema, aggregates and rows, so nothing is lost.

    by google 25k
    7/101 credit
  • Checked

    dbt Mesh contracts

    Checks whether a dbt model change breaks consumers and versions it, so downstream dashboards keep working.

    by dbt-labs 777
    7/101 credit
  • Checked

    SQL and dbt Analytics

    Writes analytical SQL and dbt models tested for grain and join errors, so the numbers come out right.

    by makifbaysal 123
    7/101 credit
  • Checked

    D3 Animated Data Charts

    Turns sourced data into honest, accessible animated D3 charts that render reliably frame by frame for video.

    by calesthio 262
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added