The Webhook Destination in Cribl Stream
URL, method, body, and headers for the Webhook destination, per the docs.
What it is for
Cribl Stream can send log and metric events to webhooks and other generic HTTP endpoints, per the Webhook Destination docs. The page lists Type: Streaming, TLS Support: Configurable, and PQ Support: Yes. Its settings span the endpoint URL and load balancing, the HTTP method, the body format, and headers, with client-side TLS, authentication, persistent queue, retries, and advanced settings alongside them. Internal fields cover dynamic URLs and per-event headers.
Configuring the destination
The walkthrough, per the Webhook Destination page, starts at the top bar: select Products, then Cribl Stream, and a Worker Group under Worker Groups. Configure via QuickConnect (Routing, QuickConnect for Stream, or Collect for Edge) or via Routes (Data, Destinations, or More, Destinations on Edge), select Add Destination, and choose Select Existing or Add New.
In the New Destination modal, General Settings take an Output ID, a unique name for the HTTP output definition; cloning adds -CLONE. Description is optional. Load balancing, toggled on, specifies multiple Webhook URLs and load weights; when off and Stream is not sending data to all possible IP addresses, enable Advanced Settings, Round-robin DNS. Webhook URL holds the endpoint URL to send events to.
Optional Settings: Exclude current host IPs, shown when Load balancing is on, excludes all IPs of the current host from resolved hostnames, and defaults to off, keeping the host available. Method defaults to POST and changes to PUT or PATCH where required by the endpoint. Format is NDJSON (newline-delimited JSON, the default), JSON Array, Custom (a JavaScript expression), or Advanced (JavaScript code, for APIs not otherwise supported in Cribl Stream). Backpressure behavior blocks, drops, or queues events when all receivers exert backpressure. Tags filter and group Destinations on the Destinations page, not on events.
Optionally adjust the TLS, Authentication, Persistent Queue, Processing, and Advanced settings, then select Save, then Commit & Deploy.
The Webhook URLs table load-balances data across a known set of receivers; Add URL adds rows. Each row takes a Webhook LB URL, for example http://webhook:8000/, and a Load weight for the connection's relative traffic-handling capability. Weights accept any value greater than 0, and an X button deletes a row.
Client-side TLS: Use TLS defaults to off. Server name (SNI) must be a host name, not an IP address; Trusted server CA path holds PEM CA certificates. Mutual Authentication (mTLS) offers a predefined Certificate that auto-fills the mutual-auth paths, plus Certificate path, Private key path, and Passphrase. Minimum and Maximum TLS version set the accepted range; choosing TLSv1 or TLSv1.1 as the minimum shows a deprecation warning.
Authentication: None; Auth token, whose Token field holds the bearer token for the HTTP authorization header; Auth token (text secret) and Basic (credentials secret), which pick a stored text secret with a Create link; Basic, with Username and Password; and OAuth, adding Login URL, OAuth secret and its parameter name, Token attribute name, Authorize expression (computing the Authorization header), Refresh interval (secs.) defaulting to 3600 with a maximum of 300000, plus Name-plus-expression rows for OAuth parameters and Authentication headers.
The Persistent Queue Settings tab displays when Backpressure behavior is set to Persistent Queue, buffering and preserving incoming events during a downstream outage or backpressure. Some settings might not appear when the Worker Group level storage mode is Network filesystem or AWS S3. On Cribl-managed Cloud Workers with an Enterprise plan, the tab exposes only Mode, Backpressure duration limit, and Clear Persistent Queue; a maximum of 1 GB of disk space is automatically allocated per PQ-enabled Destination, per Worker Process, on outbound uncompressed data, the limit is not configurable, and a full queue blocks outbound data.
Mode selects when Cribl Stream engages the queue: Error queues when the Destination is unavailable or in an error state; Backpressure queues while it detects backpressure; Always On queues all events on disk even without backpressure. A node starting with an invalid Mode automatically switches to Error, which the page ties to a version older than 4.9.0 or a nonexistent YAML value.
The remaining fields: File size limit, default 10 MB, at least the Buffer size limit (bytes) on save; Queue size limit, default 5 GB, up to 1 TB unless a different Worker Process PQ size limit is configured; Queue file path, default $CRIBL_HOME/state/queues; Compression, default None with Gzip available; Queue-full behavior, Block or Drop new data; and Buffer size limit (bytes), default 1MB, range 64KB to 10MB, replacing the deprecated Buffer size limit (events) as of 4.18.0. Backpressure duration limit displays when Mode is Backpressure, defaulting to 30 seconds. Strict ordering defaults on for FIFO forwarding, flushing every 10 seconds; off, it displays Drain rate limit (EPS), where 0 disables throttling. Clear Persistent Queue, Cloud Enterprise only, appears after the Output ID is defined and permanently deletes queued data.
Honor Retry-After header honors Retry-After headers specifying a delay no longer than 180 seconds; Stream caps the delay at 180 seconds even if the header says more, and any such header takes precedence over the other Retries options. The default exponential backoff rules drop 1xx and 3xx requests, retry 408 and 429 in memory or the persistent queue if enabled, drop any other 4xx, and retry any 5xx.
A 429 (Too Many Requests) not listed in Settings for failed HTTP requests is treated as a non-retryable 4xx error and dropped. There, Add Setting rows configure an HTTP status code, a Pre-backoff interval (ms) defaulting to 1000, a Backoff multiplier defaulting to 2, and a Backoff limit (ms) defaulting to 10,000, the minimum, with a maximum of 180,000. The Retry timed-out HTTP requests toggle exposes the same three settings.
Processing Settings offer Pipeline, the Pipeline or Pack to process data before sending, and System fields, added automatically to events that use this output; the default includes cribl_pipe, wildcards are supported, and fields include cribl_host, cribl_input, cribl_pipe, and more.
Advanced Settings: Validate server certs (default on), Round-robin DNS, Compress (default on), Keep alive (default on, preserving the connection up to 120 seconds), Request timeout (default 30 seconds), Request concurrency (default 5, minimum 1, maximum 32), Body size limit (KB) (default 4096), Buffer memory limit (KB) (5 times the max body size when blank, 0 for no limit), Events-per-request limit (default 0, unlimited), and Flush period (sec) (default 1).
Extra HTTP headers pass name-value pairs to all events, sent encrypted. Failed request logging mode chooses None (the default), Payload, or Payload + Headers; the last redacts all headers except Safe headers, which always redact sensitive names such as authorization. Environment optionally names a single Git branch for GitOps.
Custom format exposes backtick-enclosed expressions. Source expression evaluates on every event, its result sent instead of the original event; it defaults to __httpOut. Drop when null drops events evaluating to null. Event delimiter defaults to a newline and cannot be a space. Content type defaults to application/x-ndjson, overridden by Extra HTTP headers. Batch expression wraps batched events via ${events}; for example, {"items" : [${events}] }.
The page's Custom Format Example starts from an API that requires payloads in the form copied below from the Webhook Destination page:
{
"Events":[
{
"one":"1",
"two":"2"
},
{
"one":"1.1",
"two":"2.2"
}
]
}
The fix sets the Source expression to { "one": "${field1}", "two": "${field2}" }, the Event delimiter to a comma, and the Batch expression to { "Events": [${events}] }.
Advanced format exposes JavaScript blocks: Format inbound event turns events into strings that concatenate into batches, and Format outbound payload reshapes the batch before sending. Enter only the internal code. The blocks follow JavaScript strict mode, which the page reserves for skilled JavaScript developers; use __e.asJSON(), not JSON.stringify(__e), to avoid circular references.
Stream uses three internal fields: an event containing __criblMetrics goes to the endpoint as a metric event, otherwise a log event; when Load balancing is disabled, an event's __url overrides the Webhook URL, so a Pipeline with an Eval Function can vary the endpoint per event; and an event's __headers, a JSON object of name-value pairs, adds headers dynamically, taking precedence over Extra HTTP headers for the same name.
Using it
The page's Use Cases section links examples for an Azure Analytics/Sentinel Integration, a Webhook/BigPanda Integration, and a Webhook/Slack Integration. Troubleshooting covers the modal's tabs: Start Capture on Live Data views real-time events; the Logs tab holds delivery details, including errors and warnings; the Test tab confirms the Destination is correctly set up and reachable, with Run Test verifying sample events send correctly. The Monitoring page graphs events and bytes in and out over time.
What the docs flag
- When load balancing is first enabled, or a load weight is edited while load-balanced, the changes might take a few seconds to register.
- A node starting with an invalid Mode switches to Error mode; the page ties this to a version older than 4.9.0 or a nonexistent YAML value.
- Buffer size limit (events) is deprecated as of 4.18.0 in favor of the byte-based limit.
- Retry-After delays are capped at 180 seconds and take precedence over the other Retries options; an unlisted 429 is dropped as non-retryable.
- High Body size limit values can raise memory usage per Worker Node, and the actual body can exceed the limit because the Destination adds bytes.
- Use the Clear Persistent Queue button with caution: it permanently deletes queued data without delivering it.
Frequently asked questions
What HTTP method and format does the Webhook Destination in Cribl Stream use by default?
The Method setting defaults to POST, changing to PUT or PATCH where required by the endpoint. The Format setting defaults to NDJSON, newline-delimited JSON.
How do individual events override the Webhook URL or add headers?
With Load balancing disabled, an event's __url field overrides the Webhook URL, so a Pipeline with an Eval Function can vary the endpoint per event. An event's __headers field adds headers dynamically and takes precedence over Extra HTTP headers.
When does the Persistent Queue Settings tab appear, and what queue size does it get on Cloud Workers?
It displays when Backpressure behavior is set to Persistent Queue. On Cribl-managed Cloud Workers with an Enterprise plan, a maximum of 1 GB of disk space is automatically allocated per PQ-enabled Destination, per Worker Process, and the limit is not configurable.
Which format choice integrates the Webhook Destination with APIs not otherwise supported in Cribl Stream?
The Advanced format choice does; it defines the event and payload format with JavaScript code. The code blocks follow strict mode, and the page reserves this format for skilled JavaScript developers.
Source
Verified against Cribl Stream 4.20 documentation on November 12, 2026.