All scripts
analysis
Expert
30s–5 min
Syslog Correlation Engine
Correlate syslog events across 100s of devices to detect cascading failures, identify root-cause vs symptom events, compute blast radius, and auto-generate incident timelines.
Multi-vendor (syslog input)
Cisco
Juniper
Any RFC5424
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- Multi-device event correlation
- Root cause vs symptom scoring
- Cascading failure detection
- Blast radius calculator
- Auto incident timeline
- Pattern-based severity classifier
- Regex rule engine (YAML config)
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Syslog directory / file syslog_dir | string | ./syslogs/ | — |
Correlation window (mins) time_window_mins | number | 15 | — |
Min severity (0-7) min_severity | number | 3 | — |
Rules file (.yaml) correlation_rules | string | rules.yaml | — |
Sample inventory schema
Authoritative shape of the device/policy data this script consumes.
sources.yaml
yaml
Multi-source ingest: rsyslog HA pair, SNMP trapd, Kafka eventsyaml
# Syslog/event sources fanned in by the correlator
sources:
- name: rsyslog-primary
transport: tcprules.yaml
yaml
Correlation rules with thresholds, group-by keys, and actionsyaml
# Multi-line correlation rules (firing → action)
rules:
- id: bgp_flap_storm
match_any:Expected output
Reference terminal output the script should produce — used as a stylistic and structural target.
terminal
[14:55:00] Parsing 2.4M syslog events from 47 devices (last 4 hours)...
INCIDENT CORRELATION REPORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━
Incident #1 — CRITICAL — Started 14:23:47
Root Cause: core-sw-01 "LINK-3-UPDOWN: Interface Gi0/1, changed to down"
Cascading: → 3 downstream switches lost uplink
→ 847 hosts lost connectivity (blast radius: VLAN 10, 20, 100)
→ 12 BGP sessions reset (hold timer expired)
→ OSPF reconvergence triggered on 5 routers