Reroute
Synopsis
Enables dynamic routing of logs to different target systems based on pipeline processing results.
Schema
reroute:
- destination: <string>
- description: <text>
- if: <script>
- ignore_failure: <boolean>
- on_failure: <processor[]>
- on_success: <processor[]>
- tag: <string>
Configuration
Field | Required | Default | Description |
---|---|---|---|
destination | Y | - | Name of the target system configuration to route to |
description | N | - | Explanatory note |
if | N | - | Condition to run |
ignore_failure | N | false | See Handling Failures |
on_failure | N | - | See Handling Failures |
on_success | N | - | See Handling Success |
tag | N | - | Identifier |
Details
The Reroute processor is a powerful feature that allows you to make routing decisions after processing your logs through pipelines.
While basic routing can be configured at the source level, Reroute gives you the ability to implement complex routing logic that depends on multiple conditions or transformations, and to route logs to different destinations based on the content extracted or transformed.
Make sure the destination
field matches exactly with a target system name in your configuration. Only one reroute processor will be executed even if there are multiple matches.
The Reroute processor is particularly useful to achieve the following:
-
Security - Parse and normalize logs, enrich with threat intelligence, and route high-risk events to security platforms
-
Compliance - Filter sensitive data, apply transformations, and route them to compliance-mandated destinations
-
Cost reduction - Process high-volume logs, filter out unnecessary data, and route relevant logs to premium storage/analysis platforms
Examples
Microsoft Sentinel
First, define your Sentinel target... |
|
then use Reroute to send the logs... |
|
Conditionals
Process logs, and route them based on the extracted data... |
|
using different target configurations: |
|
Multi-Stage
Process logs through multiple stages before routing... |
|