Routes: Quick Start
This guide will help you get started with routes by walking you through some common scenarios.
Basic Setup
The simplest route that can be defined sends data directly without processing:
routes:
- name: basic_forward
description: "Forward all logs to storage"
targets:
- name: storage
Pipelines
Single
We can add some basic processing with a pipeline before we forward the data:
routes:
- name: process_logs
description: "Process and store logs"
pipelines:
- name: normalize_logs
targets:
- name: storage
Multiple
Or we can process data with several pipelines:
routes:
- name: complex_processing
description: "Multi-stage processing"
pipelines:
- name: normalize
- name: enrich
- name: aggregate
targets:
- name: analytics
Selection
Device-Based
We can route data from specific device types:
routes:
- name: syslog_route
if: device.type == 'syslog'
pipelines:
- name: syslog_normalize
targets:
- name: syslog_storage
- name: windows_route
if: device.type == 'windows'
pipelines:
- name: windows_normalize
targets:
- name: windows_storage