Lesson 2 of 13 · 15m
The Pipeline Between Event and Analyst
How events travel from agent through queues to index, where each hop silently drops them, and why drop counters are a detection input.
The path between "event happened" and "analyst sees it" is a chain of processes that can each lose the event silently. A SIEM pipeline is: agent reads the source → transforms → ships to a queue or directly to the SIEM ingest API → parse → index. Every hop is a place where events die without anyone noticing.
The agent layer
On Windows, Winlogbeat reads the Event Log channels and ships JSON; it handles Sysmon, Security, and PowerShell channels alike, using its own bookmark to survive restarts. On Linux, auditd/sshd write files, so Filebeat, Fluent Bit, Vector, or an rsyslog/syslog-ng forwarder does the shipping. Vector (vector.dev, a Datadog project since the Timber acquisition) is the interesting one: a Rust collector with a remap language (VRL) that can parse, sample, and route in one process instead of chaining grok configs across three tools.
The agent's failure mode is a bounded buffer. Winlogbeat's internal queue is finite; when the destination stalls, old events drop. Fluent Bit can pause inputs or spill to disk depending on output config. Which behavior you get is a config decision, not a law of nature — and "dropped 40,000 Security events while Kafka was down for maintenance" is a detection gap, not an ops footnote. Read your agent's back-pressure documentation the way you'd read a storage engine's durability guarantees: that's what it is.
The queue layer
Kafka, Kinesis, or Redis between agents and indexers decouples producer speed from consumer speed. During a real incident — when event rates spike 10× because something is actually wrong — the queue absorbs the burst while the indexer keeps pace. Without it, the indexer is the bottleneck and the burst is lost at the agent buffer. That is why mature pipelines queue: not for reliability theater, but because the worst ingest spikes coincide exactly with the events you most need. Consumer lag on the Kafka topic is also your earliest warning — lag rising means the indexer fell behind, which means detections are evaluating stale data.
Syslog: the format that pretends to be one
RFC 3164 syslog — Mar 3 12:00:00 host tag: message — has no year field and no timezone. The receiver guesses both. RFC 5424 fixed it with version numbers, full timestamps, and structured data, but network devices still emit 3164 by default decades later. UDP syslog drops invisibly; TCP reorders; TLS syslog exists and almost nobody turns it on. If a network device is a required source, pin the receiving daemon's assumed timezone and year logic, and log how many messages fail to parse.
The ingest API layer
Splunk's HEC, Elastic's _bulk, Sentinel's Data Connector / Log Ingestion API — each accepts batched JSON. Batch size, flush interval, and retry policy are where ingestion delay hides. An agent flushing every 30 seconds adds up to 30 seconds of latency to a correlation window measured in minutes — and a retry policy that silently drops after N attempts turns a transient SIEM outage into a permanent hole.
Parse placement
Where you parse — agent-side, in the queue consumers, or inside the SIEM's ingest pipeline — is a real architecture decision. Parse early and the events arriving at the SIEM are already normalized, but every parser change means touching distributed agents. Parse late and raw events flow cheaply through the pipe, but the SIEM pays grok CPU on every event forever. Mature pipelines split: agents do framing (line splits, JSON envelope validation) and enrichers do the field extraction centrally.
The number that matters
events_in per source vs events_indexed per source. If they diverge, you have a leak. Instrument the pipeline itself: emit a heartbeat metric per source per minute, and alert on its absence. When SUNBURST responders reconstructed timelines after the fact, the teams that could trust their telemetry were the ones who had already measured the gap between emission and indexing — everyone else was comparing clocks and dropped logs and discovering their own pipeline's holes mid-incident.
The correct practice: treat the pipeline as a monitored system, not plumbing. Alert on drop counters, lag, and heartbeat absence with the same severity you would give a host going dark — because a source that stops shipping is indistinguishable from a quiet network until the day it isn't.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
Immich Had Fourteen Advisories and One Bug It Fixed Three Times
Immich's 2026 security record runs to fourteen advisories, and they cluster hard: the sharing features, the OAuth plumbing, and one login redirect parameter that took three separate fixes across eighty-three days. Plus the 3.0 migration traps still waiting for anyone who hasn't jumped yet.
Jellyfin's Threat Model Is Your Brother-in-Law
Four Jellyfin CVEs landed in 2026 and not one of them needs an admin account. One needs only the ability to name a file. Meanwhile Jellyfin 12 shipped in September, the version numbers stopped starting with 10, and every "am I patched" check you wrote is now wrong.
Node.js Fixed 16 Flaws in One Release. Most of Them Live in HTTP/2 and TLS.
The November 11 Node.js security releases fix 16 CVEs across the 26, 24 and 22 lines, seven of them rated high. Nearly all sit in HTTP/2 and TLS, where a remote client can crash a server, leak memory, or get past per-host client-certificate checks.
Next.js Shipped Seven Advisories and Six of Them Are the Cache
The November 2026 Next.js security release patches seven issues, and six live in the new Cache Components layer, the feature meant to make your app faster by remembering more. Three hit self-hosted next start specifically: the ones Vercel's own platform quietly absorbs.