Data Pipelines: Unlocking the Full Potential of Detection Engineering
Practical Use Cases for Data Pipelines in Detection Engineering
Back in 2023, I wrote about why you need Data Engineering Pipelines before an enterprise SIEM. It opened with the classic “Data is the new oil” line and a simple question: why are so many detection engineers still dealing with log data in its crude form?
Crude logs mean the dirty job of cleaning, parsing and enriching data lands on the desk of SIEM and content engineers. Over and over again, for every new detection use case.
Three years later, most of the pipeline discussions out there still revolve around one thing: cost. Licensing, storage, GB/day. You know the drill.
Money is always a valid driver. However, shortening detection delivery time and improving the overall quality of detection output are directly tied to costs too.
This is a follow-up with a focus on practical use cases where refined data, delivered by a pipeline, speeds up the implementation of Threat Detection use cases.
The pipeline is not where the alerting decision is made. It’s where the dirty job gets done, so detection engineers can focus on the detection logic and advanced use cases (alert frameworks, detection models, etc).
TLDR: in case you landed here for the detection takeaways only, skip to the “Category 1 — Advanced Parsing” section below!
From 2023 to 2026: what has changed?
In the original article, the main point was about the (log) data lifecycle: ingestion, transformation and consumption.
Traditional SIEM architectures handled that in a very rudimentary fashion. Log shippers sending data to a SIEM index as the final destination. That’s it.
Very little work was done to polish the data before it hit the SIEM storage layer, shifting the data quality problem to SIEM and content engineers. After all, the cruder the log, the longer the time-to-value.
Decoupling ingestion, filtering and enrichment from the SIEM was supposed to leave the platform with a clear primary role: Security Analytics.
So, are we there yet?
Partially. Data pipelines became a product category on their own, and the SIEM market is clearly adapting to them.
The most popular argument for them today is breaking log lock-in. With a routing and transformation layer in front of the SIEM, switching SIEMs no longer means re-plumbing thousands of servers and hundreds of log source types from scratch.
A common setup I see working in the field: detection and triage stay in the SIEM, while the pipeline sits in front of it, forking archival data to cheaper storage.
Still, notice how most of the market discussion is about where data goes and how much it costs. Not about accelerating detection use case delivery by providing refined, enriched data instead of raw data.
That’s the gap I want to explore here.
The obvious Use Cases
Before getting into threat detection, let’s get the well-known use cases out of the way. Those are the ones you will find in any vendor deck, so I’m not going to spend much time on them.
- Pipeline unification: replacing the accumulated sprawl of SIEM agents, cloud forwarders, endpoint collectors and scripts with one centrally managed pipeline. Declarative config, central routing policies, and one view of health, drops and volume.
- Log normalization: consistent field names, formats and values across sources, so detection queries stop compensating for messy data (remember the FourToSixMapping blind spot?).
- Routing & reduction: sending the right data to the right destination. Security-relevant events go to the SIEM, the bulky compliance stuff goes to cheaper storage, and debug noise goes nowhere.
Now, to the fun part.
Data Pipeline Use Cases for Detection Engineers
Each stage below is one category of use cases that can be outsourced from the Analytics stage to the Data Pipeline one.
By the time an event reaches the SIEM, it’s refined: normalized, parsed, enriched and labeled. The detection logic still lives in the SIEM, it just has much less dirty work to do.
Category 1 — Advanced Parsing
Every SIEM problem starts with a poorly designed use case. And many poorly designed use cases start with poorly prepared data.
If the data is not ready for questioning, the detection engineer ends up preparing it at search time. Every single query. Every single time.
URLs
A URL is not a string. It’s a bundle of attributes.
Scheme, subdomain, registered domain, top-level domain, path, file extension, query parameters. Each one is a detection opportunity on its own.
When the URL lands in the SIEM as one long field, every detection that needs one of those parts must extract it again, usually with a regex that someone wrote years ago and nobody dares to touch.
Parsing it upstream enables things like:
- Prevalence by registered domain instead of by full hostname only (attackers love disposable subdomains).
- Flagging encoded or unusually long query parameters.
- Spotting executable or script file extensions being downloaded, regardless of where they sit in the path.
Base64 Flag / PowerShell Decoding
If you’ve read my article on malicious encoded PowerShell, you know spotting the encoded command is just the beginning. The actual payload only reveals itself once it’s decoded.
So why not decoding it before it hits the SIEM? Actually, that idea expands beyond PS command lines to any base64-encoded string. Imagine if you are able to write detections on base64-flagged commands only?
The decoded payload can be stored right next to the original command line. From there:
- Analysts can search it like any other field during triage and hunting.
- Pattern-based indicators (more on that later) match against the actual content, not against a Base64 blob.
- Nobody needs to decode the same command again at search time.
Pro Tip: never replace the original value, enrich it. Keep the raw command line intact, unless it's really rubbish data (static log descriptions, debugging info, etc). Besides forensics needs, decoding logic can fail, and when it does, you want the original to fall back to.
Category 2 — External IP Enrichment
In What makes up a solid SIEM query?, enrichment is one of the core query components. Back then, the advice was to perform lookups only after aggregation, to avoid looking up every single event.
That’s still good advice. But what if the event arrives already enriched?
External IP addresses are the perfect candidate here. Practically every detection involving remote access, authentication or C2 traffic depends on knowing a bit more about the other side of the connection.
ASN
The Autonomous System Number (ASN) tells you who owns the network an IP address belongs to: a residential ISP, a cloud provider, a hosting company or a VPN service.
That’s a far more stable attribute than the IP address itself. Attackers rotate IPs all the time, but they often stick to the same hosting providers.
And it opens the door to some great use cases:
- Once an incident is identified, the ASN is already available. Analysts, hunters, and responders can quickly use the SIEM to identify other IP addresses in the logs that belong to the same ASN.
- Detection and hunting queries can use the ASN as an anchor for filtering or aggregation, potentially providing better visibility and more effective ways to identify related activity.
Geolocation
In my SPL2 if command article, I showed how even vendor-enriched sources such as Entra ID sign-in logs don’t always come with a location value. Filling that gap at search time means paying for a lookup on every IP, every time the query runs.
Do it at ingestion time, and it’s paid once.
Another often-overlooked aspect is temporal accuracy: IP allocations and geolocation mappings can change over time, meaning search-time enrichment may apply today’s attributes to historical events rather than reflecting the context at the time they occurred.
(Un)Known IP addresses
This is one of the most valuable.
Every organization owns or trusts a set of public network ranges: corporate egress IPs, VPN concentrators, cloud tenants, partner networks, scanners. Those usually live in a spreadsheet somewhere, or worse, hard-coded as exceptions across dozens of detection rules.
What if that list (CIDR values in a JSON or CSV file) is maintained in one place and applied upstream?
Every event containing a public IP address then carries a simple label: known or unknown. Or even better, the name of the known range.
Now any detection can leverage that golden data point without a single hard-coded exception. Update the list once, and every rule downstream follows.
This enrichment provides immediate context to distinguish traffic involving known organizational or trusted networks from communication with unknown IP ranges.
Category 3 — Entity Prevalence
By now you know I love baselines. If not, check Baselines 101 and Data Prevalence: The Game Changer.
Quick recap: prevalence tells you how often something happens; a baseline uses those frequencies to define what’s normal.
Today, most teams compute that at the SIEM layer through scheduled searches that maintain lookup tables or summary indexes. It works, but it’s yet another job to design, schedule and keep healthy.
What if the pipeline does the remembering?
First Time Seen
The simplest form of prevalence is a binary one: have we seen this before?
There are two ideas here:
- Enrich the log's entities with prevalence info (more expensive)
- Update Entity Prevalence tables or lookups (preferable)
The idea is to have a pipeline that flags once it sees a relevant entity (file hash, domain, IP) for the first time (idea 1) or update a data store where an entity prevalence can be looked up from the SIEM (idea 2).
That enables anomaly indicators to be used within your detection logic or models. I explore the concept in more details in the following article:
Data Prevalence: The Game Changer in Threat Detection & IR
Pro Tip: Rare does not mean alert-able.
⚠️ Not all rare or anomalous events are alert-able! ⚠️
A first-time-seen label is context, not a verdict. Its value shows up when combined with other signals, as part of a detection model, or during triage when the analyst asks “was this seen before?”
That’s one of the most common questions during triage, by the way.
Prevalence: The catch
Keeping state is not free. A few things to consider before getting excited:
- Cold start: on day one, everything is new. The state needs a learning period before the labels mean anything.
- Time window: how long does an entity stay “known”? That’s the Circadian Window discussion again, now applied to the pipeline.
- Distributed state: pipelines scale horizontally. If two workers process events from the same entity, they need to share the same memory.
- Cardinality: remembering every command line ever seen is a bad idea. Pick entities with reasonable cardinality.
Notice something? A pipeline that remembers entities over time is starting to do something a SIEM is supposed to do. Hold that thought, we’ll come back to it.
Category 4 — Alert Signaling
This is where things get really interesting from a detection engineering standpoint.
If the pipeline can parse, enrich and remember, it can also flag. Not a full-blown security alert, but an alert signal.
IOC matching
Automated IOC matching is a must-have, as I suggest a framework here. Nobody should be manually scanning logs for indicators from the latest CTI report.
Matching at the pipeline means every event is checked as it flows, no scheduled searches scanning the same data over and over again.
But here’s the limitation: a pipeline typically sees what’s flowing now. When a new IOC arrives today, the events from last month have already passed through.
So stream matching doesn’t replace IOC retro-hunting. It complements it. Fresh events get matched in the stream; historical data gets swept at the SIEM or the data lake.
Detection Model Indicators Labeling
If you follow this blog, you know I keep saying atomic alerts sent straight to the SOC queue are a recipe for alert fatigue (or fat AI bills).
The strongest signal shows up only after collecting and scoring multiple indicators, aggregating them by an alert entity (usually the target or the origin of the attack).
Now, those indicators need to come from somewhere.
Many of them are simple, pattern-based, atomic observations. Picking on suspicious PowerShell one-liners, for example, the presence of any of the following already raises a red flag:
- A double encoded payload.
- A download cradle pattern.
- A common obfuscation pattern.
Each of those is a perfect candidate for labeling at the pipeline.
The event gets tagged with the indicators it matches, and the detection model at the SIEM does what it’s good at: aggregating, scoring and deciding whether to alert or not.
That’s precisely the idea behind the indicators in PowerShell.Exposed: an indicator is not a detection on its own, it’s input for one.
The benefits:
- Write once, consume many: the same label feeds multiple detection models, hunting queries and dashboards.
- Searchable signals: analysts and hunters can pivot on labels instead of rewriting regexes.
- Lighter detections: the heavy pattern matching is done before the data is stored, not every time a detection runs.
Pro Tip: treat pipeline labeling logic as detection content. Version it, peer-review it and test it, just like any other Detection-as-Code artifact.
The Controversial Part: Who Is Eating Whom?
Go back and look at Categories 3 and 4. Keeping state about entities over time, matching IOCs, labeling events with detection indicators.
Is that still a pipeline? Or is it a SIEM in disguise?
Are pipelines becoming SIEMs?
The pipeline products are clearly moving up the stack. Search, storage, enrichment, even some sort of detection. From where they sit, it makes sense: they already see all the data.
We’ve seen this movie before. Many products that promised to replace the SIEM ended up rebuilding SIEM features once they hit production.
So that’s a move worth watching more closely over the coming years.
Or are SIEMs absorbing pipelines?
On the other side, SIEM vendors are adding native pipeline capabilities: filtering, routing, transformation and enrichment at ingestion time, sometimes even before the data leaves the customer’s network.
And it’s not only the incumbents. New SIEM products are being designed with the pipeline built in from day one, not as an add-on.
In the long run, pipeline features look like a checkbox in the SIEM feature list. A very important checkbox, but a checkbox nonetheless.
But to be fair, there’s a strong argument for keeping the pipeline independent: leverage.
The main reason pipelines broke log lock-in is that they sit outside the SIEM. If your SIEM vendor owns your pipeline too, the lock-in is back, just one layer earlier.
So it’s a trade-off, as always. Convenience and tighter integration versus independence and negotiation power.
Which side are you on?
Closing Thoughts
In 2023, the message was: you need data pipelines before an enterprise SIEM.
In 2026, I’d add: stop treating them as plumbing only.
A pipeline is where the dirty job gets outsourced. Data reaches the SIEM normalized, parsed, enriched and labeled, refined instead of crude, and detection engineers spend their time on detection logic, not on data preparation.
Cost reduction is a great way to get the budget approved. Faster delivery of detection use cases is where the real return is.
And whether the pipeline ends up inside the SIEM or the other way around, one thing doesn’t change: the less time spent cleaning crude data, the more time spent actually detecting threats.
Did I miss any use case? Drop in the comments or reach out!
About this article
This article is sponsored by Axoflow, an autonomous security data layer, collecting, processing, routing, storing, and managing data, with in-stream detection in early access.
Axoflow supported its production but had no editorial control over its content. All opinions, use cases and recommendations are my own, based on my experience as an independent Detection Engineering & Security Analytics SME.
Data Pipelines: Unlocking the Full Potential of Detection Engineering was originally published in Detect FYI on Medium, where people are continuing the conversation by highlighting and responding to this story.
Generated by your browser's model. Nothing was sent anywhere.
Reader notes
Notes are held for moderation. No account needed.