Skip to content
Avinash Gupta edited this page Oct 18, 2026 · 1 revision

FAQ

Do I still need CloudWatch Logs export?

No. rdstail reads the logs RDS keeps on the instance through the RDS API. You can turn off "Log exports" to CloudWatch for those logs and stop paying CloudWatch ingestion. CloudWatch metrics (CPU, connections) are unaffected.

How much does it save?

Typically 85–95 % compared with CloudWatch Logs export, because there's no CloudWatch ingestion or storage, just S3 PUTs and storage. Get a number for your own fleet: rdstail cost-estimate --region us-east-1.

Which engines are supported?

PostgreSQL, MySQL and MariaDB on RDS, plus Aurora PostgreSQL and Aurora MySQL instances. Engines are detected automatically. Oracle and SQL Server aren't supported.

Does it need database credentials or network access to the DB?

No. It uses only the RDS control-plane API (DescribeDBLogFiles, DownloadDBLogFilePortion, DescribeDBInstances, DescribeEvents). It can run anywhere with AWS credentials, in any VPC or account.

Does it add load to my database?

Log files are read through the RDS API from the instance's log directory; rdstail never connects to the database and runs no queries. The load that matters is what the logging settings cost the engine (e.g. general_log). See Performance.

How real-time is it?

At poll_interval: 5s, p50 ≈ 3.5 s and p95 ≈ 6–8 s from RDS writing a line to the sink ACKing it, when the API isn't throttled. A single very busy file (> ~1 GB/hour) can't be tailed in real time by any RDS-API reader.

Can it lose log lines?

Not silently. Checkpoints advance only after a durable sink ACK, failed batches park in a replayable DLQ, and rotation, truncation and reboots are handled explicitly. Two caveats: lines that RDS itself loses on a crash or failover are gone for every reader, and MySQL hours that RDS purges before rdstail reads them (e.g. rdstail was down for a long time) are reported as a gap anomaly.

Will I get duplicates?

Rarely: at most one batch after a crash (at-least-once delivery). Every record carries a deterministic batch_id for downstream dedupe; the DuckDB and Athena views dedupe for you.

Can I run two replicas for high availability?

Not against the same instances and state: they'd duplicate everything. Run one process with restart: always / a Deployment with replicas: 1. A restart resumes from checkpoints, so downtime only delays delivery. Use --shard to spread a large fleet, not for redundancy.

Does it parse my SQL or change log lines?

No. message is always the raw line. rdstail extracts only what the engine already structured: timestamp, severity, and pgAudit's classification fields.

Is there a UI or alerting built in?

No, on purpose: rdstail is a shipper. The recipes give you a dashboard and alerts with Loki + Grafana in one docker compose up, or SQL with DuckDB / Athena.

How do I get alerts for DROP TABLE?

Make the engine log DDL (pgAudit or log_statement = ddl on PostgreSQL; the audit plugin on MySQL/MariaDB), then use the Loki + Grafana stack or your own platform. Details: Security Detections.

Can I send different logs to different places?

Every sink receives every record. Narrow a sink by severity with filter (min_severity or an exact severities list). For other splits (by instance, by log type), run separate configs/processes, or route downstream in vector / Kafka consumers.

What does it cost to run?

Little: a single small process on any VM, container or Kubernetes node (its memory scales with max_workers × batch size; see Performance). The AWS cost is S3 PUTs and storage (or your vendor's ingest), plus cross-region transfer if the bucket is in another region.

Where do I report bugs or security issues?

Bugs and feature requests: issues. Security: SECURITY.md.

Clone this wiki locally