1. Home
  2. Use cases
  3. Audit log and archive
USE CASE

Every change, kept.

An append-only record of what changed, when, and what it changed from — written to object storage you control.

The problem

Audit tables maintained by triggers slow writes, bloat the database and are easy to bypass. Compliance wants a record that lives outside the system it describes.

How it works with Waltail

The S3 sink writes each batch of changes as an NDJSON object under prefix/YYYY/MM/DD/, named by the pipeline and the sequence range it covers. Each line carries the operation, table, new row, previous row when replica identity provides it, sequence and commit LSN. Query it with Athena or DuckDB, retain it by bucket policy, and never touch the production database for an audit question again.

What to watch

Sinks for this

Questions

Can I archive to MinIO or another S3-compatible store?

Yes — set the custom endpoint and path-style addressing.

More: Webhooks for your database · Cache invalidation · Search index sync · Event-driven services.

Start streaming in minutes.