Slack Target
Slack targets send alerts into a Slack workspace and channel using an incoming webhook or Slack app integration.
General Settings
Target ID: Enter a unique ID used to identify the target. This will show in the Target ID column of the Targets tab. You can’t change it later, so make sure you like it.
Configuration
Webhook URL: Add the full URL of your Slack Incoming Webhook. For example:
https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX.
Retries
Honor Retry-After header: When toggled on and the retry-after
header is present, Cribl honors any retry-after header that specifies a delay, up to a maximum of 20 seconds. Cribl always ignores retry-after headers that specify a delay longer than 20 seconds.
Cribl will log a warning message with the delay value retrieved from the retry-after header (converted to ms).
When toggled off (default), Cribl ignores all retry-after headers.
Settings for failed HTTP requests: Automatically retries after unsuccessful response status codes, such as 429 (Too Many Requests) or 503 (Service Unavailable). Selecting Add Setting reveals a table where you can add retry parameters for individual failed HTTP requests. These include:
- HTTP status code: The individual status code for which the retry parameters apply.
- Pre-backoff interval (ms): How long, in milliseconds, Cribl should wait before initiating backoff. The maximum interval is 600,000 ms (10 minutes).
- Backoff multiplier: Base for exponential backoff. A value of
2(default) means Cribl will retry after 2 seconds, then 4 seconds, then 8 seconds, and so forth. - Backoff limit (ms): The maximum backoff interval, in milliseconds, Cribl should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds).
Retry timed-out HTTP requests: Toggle on if you want Cribl to automatically retries HTTP requests that have timed out. Defaults to off. Enabling this option exposes the following settings:
- Pre-backoff interval (ms): How long, in milliseconds, Cribl should wait before initiating backoff. Maximum interval is
600,000 ms(10 minutes). - Backoff multiplier: Base for exponential backoff. A value of
2(default) means Cribl will retry after 2 seconds, then 4 seconds, then 8 seconds, and so forth. - Backoff limit (ms): The maximum backoff interval, in milliseconds, Cribl should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds).