Snowflake Streaming with Cribl Stream
Stream, database, and credential settings for Snowflake streaming, per the docs.
What it is for
The Snowflake Streaming Destination streams data directly into Snowflake tables using the Snowpipe Streaming V2 API, per the Snowflake Streaming Destination documentation. The page lists its type as Streaming, with TLS support and persistent queue support (PQ).
Each Cribl Stream Worker Process opens one Snowflake Channel per concurrent request to the target table. The number of channels per Worker Process equals the Request concurrency Advanced Setting, which defaults to 5. Channels are the streaming equivalent of partitions and handle parallel ingestion that scales up or down with load; configure one Snowflake Streaming Destination per target table.
Configuring the destination
Before you configure the Destination, complete the following in your Snowflake account:
- Create a service user and configure key-pair authentication for it, with your RSA private key in PEM format ready to paste.
- Grant privileges: the service user's role needs
USAGEon the target database and schema, andINSERTon the target table. - Note your account identifier: it follows the format
<org_name>-<account_name>.
Select a Worker Group under Products > Cribl Stream, then add the Destination via Routing > QuickConnect (select Add Destination, then Select Existing or Add New) or via Data > Destinations.
In the New Destination modal, configure the following under General Settings:
- Output ID: a unique name to identify this Destination definition. If you clone it, Cribl Stream adds
-CLONEto the original Output ID. A Description is optional. - Account identifier: case-sensitive, in the format
<org_name>-<account_name>. - User: case-sensitive Snowflake username for the service account that Cribl Stream uses to authenticate.
- Private key: select an existing key or select Create to add a new one, then paste your RSA private key in PEM format.
- Target database: case-sensitive name of the Snowflake database where the target table resides.
- Target schema: case-sensitive name of the Snowflake schema that contains the target table.
- Target table: case-sensitive name of the target table. The table must exist, its schema must be compatible with the events being sent, and you configure one Destination per table.
Optionally, configure the following under Optional Settings:
- Role: Snowflake role to use when connecting, for example
ACCOUNTADMIN. If empty, defaults to the role assigned to the User. - Backpressure behavior: block, drop, or queue events when all receivers are exerting backpressure. Defaults to
Block. - Tags: filter and group Destinations on the Manage Destinations page. Tags are not added to processed events; use a tab or hard return between tag names.
The Persistent Queue Settings tab displays when Backpressure behavior in General settings is set to Persistent Queue. Persistent queue buffers and preserves incoming events when a downstream Destination has an outage or experiences backpressure. Some settings might not appear if the persistent queue storage mode at the Worker Group level (Worker Group Settings > System > PQ Storage) is Network filesystem or AWS S3; with these storage types, the behavior is managed at the Worker Group level.
- Mode: selects when Cribl Stream engages the persistent queue: Error (the Destination is unavailable or in an error state), Backpressure (when backpressure is detected, until it resolves), or Always On (immediately queue all events, even with no backpressure).
- File size limit: maximum data volume to store in each queue file before closing it. Defaults to
10 MB, and must be greater than or equal to Buffer size limit (bytes) when you save; Cribl Stream rejects invalid combinations. - Queue size limit: maximum disk space the queue can consume on each Worker Process. Defaults to
5 GB, accepts positive numbers with units such asKB,MB, andGB, and can be set as high as1 TB, unless you've configured a different Worker Process PQ size limit on the Worker Group/Fleet Settings page. At the limit, the Destination stops queueing and applies the Queue-full behavior. - Queue file path: location for the persistent queue files. Defaults to
$CRIBL_HOME/state/queues, and Cribl Stream appends/<worker-id>/<output-id>. - Compression: codec to use when compressing the persisted data after closing a file. Defaults to
None;Gzipis also available. - Queue-full behavior: block or drop events when the queue begins to exert backpressure, which happens when the disk is low or at full capacity. Block refuses new data until the receiver is ready; Drop new data discards all new events until the backpressure event resolves.
- Buffer size limit (bytes): maximum memory to buffer events before flushing them to persistent queue on disk. Defaults to
1MB; the valid range is64KBto10MB, and values outside the range are rounded to the nearest limit. - Backpressure duration limit: displays when Mode is set to
Backpressure. Controls how long, in seconds, a Destination must experience backpressure before Cribl Stream queues data to persistent storage. Defaults to30seconds. - Strict ordering: toggled on (default) to enable FIFO event forwarding, sending earlier queued events first when receivers recover; the queue flushes every 10 seconds in this mode. Toggling off prioritizes new events over queued events and displays Drain rate limit (EPS), an optional throttle where the default
0value disables throttling.
On Cribl-managed Cloud Workers (with an Enterprise plan), this tab exposes only the Mode and Backpressure duration limit settings and the destructive Clear Persistent Queue button below. A maximum queue size of 1 GB disk space is automatically allocated per PQ-enabled Destination, per Worker Process, on outbound uncompressed data with no compression applied. The limit is not configurable, and if the queue fills up, Cribl Stream blocks outbound data. To configure queue size, compression, queue-full fallback behavior, and other options, use a hybrid Group.
Clear Persistent Queue, for Cloud Enterprise only, deletes the files currently queued for delivery to this Destination after a confirmation modal. Clearing frees up disk space by permanently deleting the queued data without delivering it to downstream receivers. The button only appears after you define the Output ID.
The Processing tab offers a Pipeline or Pack to process data before sending it out using this output, plus System fields added automatically to events that use the output. System fields includes cribl_pipe by default, supports wildcards, and available fields include cribl_host, cribl_input, cribl_output, and cribl_route.
The Advanced Settings are:
- URL: override the Snowflake account URL used to connect. If empty, Cribl Stream constructs the URL from the Account identifier field. The page's example, copied from the Snowflake Streaming Destination page:
https://<account>.snowflakecomputing.com:443
- Body size limit (KB): maximum size of the request body before compression. Defaults to
4096KB. - Events-per-request limit: maximum number of events in each request body. The default
0allows unlimited events. - Request concurrency: maximum number of concurrent requests per Worker Process; Cribl Stream begins throttling traffic when it hits this limit. Defaults to
5. - Request timeout: seconds to wait for a request to complete before aborting it. Defaults to
30. - Snowflake channel open timeout: seconds to wait when opening a Snowflake Channel before aborting. Defaults to
30. - Flush period (sec): maximum time between data flushes to the Snowflake Channel. Lower values reduce latency but may increase API call frequency. Defaults to
1. - Keep alive: when toggled on (default), Cribl Stream sends
Keep-Aliveheaders to preserve the connection between requests. - Compress: when toggled on (default), compresses the payload body using
zstdbefore sending. - Validate server certs: when toggled on (default), rejects certificates that are not authorized by a trusted CA.
- Extra HTTP headers: name-value pairs to pass as additional HTTP headers on all requests.
- Failed request logging mode: which data to log when a request fails:
None(default),Payload, orPayload + Headers. WithPayload + Headers, Cribl Stream redacts all headers except those declared in Safe headers. - Safe headers: headers to declare as safe to log in plaintext. Sensitive headers such as
authorizationare always redacted even if listed here. - Settings for failed HTTP requests: automatic retry behavior for specific HTTP response status codes. For each entry, set the HTTP status code, Pre-backoff interval (ms), Backoff multiplier, and Backoff limit (ms). Select Add Setting to add a code. The default configuration retries on
401,403,408,429,500,502,503,504, and509. - Retry timed-out HTTP requests: on by default; retries timed-out requests, with Pre-backoff interval (ms) defaulting to
1000, Backoff multiplier to2, and Backoff limit (ms) to10000. - Honor Retry-After header: on by default, respects a
Retry-Afterresponse header if the specified delay is 180 seconds or less, taking precedence over all other retry settings when active. - Environment: if you're using GitOps, optionally specify a single Git branch on which to enable this configuration. If empty, the config will be enabled everywhere.
Select Save, then Commit & Deploy, and use the Test tab in the Destination's configuration modal to validate the configuration and connectivity.
Using it
The Destination counts rows from Snowflake's response to each request: iometrics.snowflake_rows_inserted totals rows Snowflake reported as inserted, and iometrics.snowflake_rows_rejected totals rows reported as rejected. When a response includes rejected rows, the Destination status turns Yellow and returns to Green after a later response reports none. Both counters are available at the Basic metrics level and above.
If you need to proxy HTTPS requests, the page points to the System Proxy Configuration documentation.
The configuration modal has troubleshooting tabs: Live Data (Start Capture views real-time events), Logs (delivery details, including errors or warnings), and Test (Run Test verifies sample events). The monitoring page adds an overview of data volume and rate.
What the docs flag
- In Cribl.Cloud Government environments, this Destination isn't available.
- This Destination provides at-least-once delivery. If Cribl Stream does not receive confirmation that Snowflake accepted a batch, it retries the batch, which can result in duplicate rows in the target table.
- If a Worker/Edge Node starts with an invalid Mode setting, it automatically switches to Error mode; this might happen on versions that do not support other modes (older than 4.9.0) or with a nonexistent value in YAML configuration files.
- Buffer size limit (events) is deprecated as of version 4.18.0, replaced by the byte-based Buffer size limit (bytes), which defaults to
1MBfor upgraded Worker Groups and Fleets.
Frequently asked questions
How does Cribl Stream authenticate the Snowflake Streaming Destination?
It uses key-pair authentication with an RSA private key in PEM format that you paste into the Private key field. The service user's role needs USAGE on the target database and schema, and INSERT on the target table.
How many Snowflake Channels does the Cribl Stream Snowflake Streaming Destination open per Worker Process?
It opens one Snowflake Channel per concurrent request to the target table. The count equals the Request concurrency Advanced Setting, which defaults to 5, and channels scale up or down with load.
Does the Cribl Stream Snowflake Streaming Destination guarantee exactly-once delivery?
No, it provides at-least-once delivery. If Cribl Stream does not receive confirmation that Snowflake accepted a batch, it retries the batch, which can result in duplicate rows in the target table.
Which metrics does the Cribl Stream Snowflake Streaming Destination expose for row counts?
It counts iometrics.snowflake_rows_inserted for inserted rows and iometrics.snowflake_rows_rejected for rejected rows. The status turns Yellow when a response includes rejected rows and returns to Green after a later response reports none; both counters are available at the Basic metrics level and above.
Source
Verified against Cribl Stream 4.20 documentation on November 22, 2026.