Lesson 2 of 9 · 21m
Telemetry Pipeline Reality: Events Are Evidence, Not Decoration
How logs actually travel from endpoint to SIEM, where fidelity is lost, and what to verify before trusting an alert.
Most detection failures blamed on "the SIEM" happened upstream. The endpoint dropped the event, the forwarder filtered it, the parser renamed the field, the index lifecycle deleted it, or the time skew made correlation impossible. A detection engineer who cannot trace the pipeline is writing rules against a fantasy.
Follow one event end to end
Pick a simple event — a process creation on Windows — and walk it:
Sysmon driver -> Windows Event Log -> Winlogbeat -> Logstash
-> Elasticsearch -> detection rule -> alert caseEvery hop has a failure mode. Windows event logs can wrap under load. Beats can backpressure and drop. Logstash grok can fail and tag _grokparsefailure. Elasticsearch can reject a document because a field type conflicts. Your rule sees none of the nuance unless you test it.
Field names are a contract
The same concept appears with different names depending on source and normalization:
sysmon: winlog.event_data.CommandLine
windows_security: winlog.event_data.ProcessCommandLine
crowdstrike: event.CommandLine
ecs_normalized: process.command_lineWrite analytics against the normalized schema if you have one — Elastic Common Schema, OCSF, Splunk CIM — but verify the normalization. A parser that puts the command line in message because the regex broke gives you silent blindness.
{
"event.dataset": "sysmon",
"event.code": "1",
"process.name": "powershell.exe",
"process.command_line": "powershell.exe -enc SQBFAFgA...",
"host.id": "d16d1f0e-5e26-4d9c-a9f7-9234b5f21110",
"@timestamp": "2026-11-29T14:32:18.004Z"
}Time is evidence too
Correlation across endpoints, identity, and network collapses when clocks drift. Validate NTP on critical systems and measure ingest latency, not just event time:
histogram_quantile(0.95,
rate(logstash_pipeline_events_ingest_delay_seconds_bucket[5m]))Five minutes of ingest delay turns a real-time triage queue into incident archaeology. Attackers do not need sophisticated evasion if your alert arrives after the second stage payload already ran.
Test collection under stress
Install a sensor and generate benign noise: compile software, run patch scans, enumerate shares. Watch queue depth and dropped counters. A pipeline that works in a quiet lab can lose exactly the high-volume events you need during an incident.
Field notes
- Never declare a log source "onboarded" until a known test event appears searchable with the expected fields.
- Track parse failures per source as an operational metric.
- Store original raw events beside normalized fields; normalization mistakes are inevitable.
- Time skew above a few seconds is a detection engineering problem, not an IT trivia item.
Was this lesson helpful?