Exclusive Route Transform
Introducing the exclusive route transform
Functionality
The Exclusive Route transform splits an event stream into unique sub-streams based on user-defined conditions. Each event will only be routed to a single stream. This transforms complements the existing Route transform.
A visual representation:
Config Example
Let’s see an example that demonstrates the above:
# Sources section omitted
transforms:
transform0:
inputs:
- source0
type: exclusive_route
routes:
- name: "foo"
condition: '.origin == "foo"'
- name: "bar"
condition: '.origin == "bar"'
# Sinks section omitted