configuring-log-export

Installation
SKILL.md

Configuring Log Export

Configures log and metric export for CockroachDB Cloud clusters to deliver cluster logs, audit logs, and performance metrics to external monitoring services. Supports AWS CloudWatch, GCP Cloud Logging, and third-party integrations like Datadog.

When to Use This Skill

  • Setting up log export to AWS CloudWatch or GCP Cloud Logging
  • Configuring metric export to CloudWatch or Datadog
  • Verifying that SQL audit logs are being exported to an external sink
  • Troubleshooting log export errors or missing logs
  • Estimating CloudWatch or logging service costs for CockroachDB log volume
  • Configuring log export via Terraform

Prerequisites

  • CockroachDB Cloud Advanced plan — Log export is not available on Basic or Standard plans
  • ccloud CLI authenticated with Cluster Admin role
  • Cloud provider setup:
    • AWS: CloudWatch Logs group created, IAM role granting CockroachDB Cloud cross-account access
Related skills

More from cockroachlabs/cockroachdb-skills

Installs
26
GitHub Stars
9
First Seen
Mar 23, 2026