Sink Configuration
Sinks are configured in thesinks section:
Common Sink Parameters
All sinks support these base configuration options:The type of the sink component.
Array of source or transform IDs to receive events from.
Healthcheck configuration for the sink.
Buffering configuration for the sink.
Enable end-to-end acknowledgements for this sink.
Console Sink
Output events to stdout/stderr:Output target:
stdout or stderr.How to encode events for output.
Encoding format:
json, text, logfmt, or csv.File Sink
Write events to files:File path template. Supports strftime specifiers for time-based rotation.
Compression algorithm:
none, gzip, or zstd.Close idle files after this many seconds.
Elasticsearch Sink
Send events to Elasticsearch:Elasticsearch endpoint URL.
Index name template. Supports strftime specifiers.
Bulk operation type:
index, create, or update.Authentication configuration for Elasticsearch.
AWS S3 Sink
Upload events to Amazon S3:AWS region where the bucket is located.
S3 bucket name.
Object key prefix. Supports strftime specifiers for partitioning.
Compression algorithm:
none, gzip, or zstd.Batching configuration for S3 uploads.
HTTP Sink
Send events to HTTP endpoints:HTTP endpoint URL.
HTTP method:
post, put, or patch.Custom HTTP headers to include.
Kafka Sink
Produce events to Apache Kafka:Comma-separated list of Kafka bootstrap servers.
Kafka topic to produce messages to.
Event field to use as the Kafka message key.
Prometheus Exporter Sink
Expose metrics for Prometheus scraping:Socket address to listen on for Prometheus scrapes.
Default namespace for metrics without one.
Loki Sink
Send logs to Grafana Loki:Loki endpoint URL.
Label set to apply to all logs. Supports template syntax.
Datadog Logs Sink
Send logs to Datadog:Datadog API key for authentication.
Datadog site:
datadoghq.com, datadoghq.eu, etc.Multiple Sinks Example
Send data to multiple destinations:Buffering
Configure how sinks buffer events:Buffer type:
memory or disk.Maximum number of events to buffer (memory buffer only).
Maximum buffer size in bytes (disk buffer only).
Behavior when buffer is full:
block or drop_newest.Batching
Configure how sinks batch events:Maximum number of events per batch.
Maximum batch size in bytes.
Maximum time to wait before sending a partial batch.
Next Steps
- Global Options - Configure global settings
- Testing - Test your sink configurations