Skip to content

Integrations

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

Integrations

rdstail reaches almost any log backend through two sinks: http (batched JSON to an endpoint) and stdout (NDJSON to an agent). Full recipes live in the repository under docs/integrations/.

Backend Route Recipe
Datadog http sink, direct datadog.md
Axiom http sink, direct axiom.md
Better Stack http sink, direct betterstack.md
Splunk (HEC) stdout → vector splunk.md
Grafana Loki stdout → vector, or the full stack (http → vector) loki.md
Elasticsearch / OpenSearch stdout → vector elastic.md
anything vector ships to stdout pipe vector.md
anything fluent-bit ships to stdout pipe fluent-bit.md
Kafka kafka sink Configuration → Kafka
S3 / Athena / DuckDB s3 sink Athena · DuckDB

Choosing a route

Direct (http) when the vendor's intake accepts a JSON array: fewest moving parts, with retries and DLQ built in. Set max_batch_bytes / max_batch_records below the vendor's payload cap.

Pipe (stdout → vector / fluent-bit) when the backend needs its own protocol (HEC envelopes, Loki streams, Elasticsearch _bulk). rdstail checkpoints when the pipe write succeeds, so enable the agent's disk buffer if the backend being down must not lose lines.

Both: sinks fan out. A common setup is S3 for everything plus a filtered http sink (min_severity: ERROR) to the expensive per-GB vendor.

Cost tip

Vendors charge per GB ingested. Send only what you'll search there, and keep the full archive in S3, where storage is cheap and Athena queries it on demand.

Clone this wiki locally