SIEM to Detection Engineering - Why Teams Are Making the Switch
Security operations centers are replacing monolithic SIEM platforms with custom detection pipelines
I've watched security operations centers wrestle with the same problem for nearly a decade: the SIEM platform that promised to be the nerve center of threat detection has become the bottleneck. The shift I'm seeing now isn't just another vendor swap or upgrade cycle. Security teams are fundamentally rethinking how they build detection capabilities, moving away from all-in-one SIEM platforms toward purpose-built detection engineering pipelines.
The conversation started quietly in practitioner Slack channels and conference hallways around 2021. Detection engineers complained about waiting weeks for SIEM vendors to add support for new log formats. Incident responders griped about query performance dying during active investigations. By 2023, the complaints turned into action. Teams at financial services firms, healthcare systems, and technology companies began building their own detection stacks using open-source components, cloud-native data lakes, and code-first workflows.
This isn't a story about SIEM platforms being universally bad. It's about the maturation of security operations and the recognition that detection engineering has become a distinct discipline requiring different tooling than what traditional SIEM vendors deliver.
Why Traditional SIEM Platforms Are Losing Ground
The SIEM category emerged in the mid-2000s to solve a real problem: security teams needed a centralized place to collect logs, run correlation rules, and investigate incidents. For years, buying a SIEM was the default answer to "how do we detect threats?"
But the threat landscape evolved faster than SIEM architectures could adapt. Modern attacks don't conveniently trigger a sequence of events that correlation rules can catch. Adversaries live off the land, abuse legitimate credentials, and blend into normal user behavior. Detecting these techniques requires iterative hypothesis testing, behavioral analytics, and custom logic that changes weekly.
Traditional SIEM platforms struggle with this reality for several reasons:
Data ingestion limitations: Most SIEM vendors charge based on data volume, which creates perverse incentives. Teams either pay crushing bills to ingest everything or make difficult choices about what logs to exclude. I've sat in budget meetings where security directors debated whether to ingest DNS logs or endpoint telemetry because they couldn't afford both. That's not a technical decision, it's a financial constraint that directly undermines detection capability.
Query performance degradation: SIEM search performance typically degrades as data volume grows. The difference between searching one week of data versus six months can mean the difference between a 30-second query and a query that times out. During active incident response, when analysts need to pivot quickly through different hypotheses, slow queries kill momentum. Detection engineers I've spoken with describe spending more time optimizing queries for SIEM performance than actually improving detection logic.
Proprietary languages and lock-in: Each SIEM vendor has its own query language, rule syntax, and data model. Learning to write effective detection rules in one platform doesn't transfer to another. This creates vendor lock-in and makes it harder for detection engineers to share knowledge across organizations. The open detection engineering community has largely standardized on languages like KQL and SQL, but many SIEM vendors still push proprietary alternatives.
Limited support for modern data sources: Cloud infrastructure generates telemetry that doesn't fit neatly into traditional log formats. Kubernetes audit logs, cloud service API calls, and infrastructure-as-code changes represent critical security signals. But SIEM platforms often treat these as afterthoughts, requiring custom parsers or expensive add-on modules. By the time a vendor adds native support, the data format has already evolved.
These limitations compound over time. A SIEM that worked fine for a 500-person company struggles when that company grows to 5,000 employees with multi-cloud infrastructure. The platform that seemed flexible during the proof-of-concept feels rigid three years later when your detection needs have changed completely.
The Detection Engineering Pipeline Approach
The alternative emerging across mature security programs is what practitioners call a detection engineering pipeline. Rather than buying one platform that tries to do everything, teams assemble components that excel at specific tasks.
A typical modern detection pipeline includes:
- Data collection layer: Agents and API integrations that pull telemetry from endpoints, network devices, cloud platforms, and applications
- Storage layer: Usually a cloud data lake (S3, Azure Data Lake, Google Cloud Storage) that can scale cheaply and store data in open formats
- Processing layer: Stream processing frameworks (Apache Kafka, Apache Flink) or batch processing (Spark) that normalize, enrich, and transform data
- Detection layer: Where the actual detection logic runs, often using SQL-based engines (Trino, Presto, Athena) or purpose-built detection platforms
- Alert routing: Systems that take detection matches and route them to case management, SOAR platforms, or directly to analysts
- Investigation tools: Specialized interfaces for querying data and visualizing relationships during incident response
This architecture separates concerns in a way traditional SIEM platforms don't. Storage is cheap and scales independently. Processing can be optimized for different workloads. Detection logic lives in version-controlled code that can be tested, reviewed, and deployed like any other software.
I've watched security teams make this transition at several organizations. The pattern is usually similar: they start by routing a copy of their data to a cloud storage bucket while keeping the SIEM running. They build one or two high-value detections against the new pipeline to prove the concept. Once that works, they gradually shift more detection logic to the pipeline and reduce their SIEM footprint to focus on compliance requirements or legacy use cases.
The Cloud infrastructure required for these pipelines has become significantly more accessible. What would have required a team of data engineers five years ago can now be implemented with managed services and infrastructure-as-code templates.
Real-World Implementation Patterns
The detection engineering teams I respect most aren't blindly following a single blueprint. They're adapting the pipeline approach to their specific constraints and requirements.
One healthcare security team I know started with Amazon Security Lake as their foundation. They route CloudTrail, VPC Flow Logs, and GuardDuty findings into Security Lake's S3-based storage, then use Athena to run SQL-based detection queries. Their detection rules live in a Git repository, and they use GitHub Actions to validate syntax and run test cases before deploying to production. The total cost dropped by 60% compared to their previous SIEM while improving query performance and expanding data retention from 90 days to two years.
A financial services firm took a different path. They built their pipeline around Apache Kafka for real-time stream processing, using Kafka Streams to run detection logic as data flows through the system. This architecture lets them detect certain threats within seconds of the event occurring, which matters when you're trying to stop fraudulent transactions before they clear. They still maintain a SIEM, but it's become a compliance tool and long-term archive rather than the primary detection platform.
What these implementations share is a code-first philosophy. Detection logic is written in actual code (Python, SQL, or specialized detection languages) and managed through software development workflows. This contrasts sharply with the point-and-click rule builders that most SIEM platforms offer. The trade-off is clear: you need engineers who can write code, but you gain the ability to version control, test, and collaborate on detection logic using proven software engineering practices.
The Data management challenges in these pipelines are real. You're responsible for data lifecycle policies, retention schedules, and ensuring sensitive data is handled appropriately. But teams find this preferable to being constrained by vendor-imposed limitations on how they can store and query their own security telemetry.
The Skills Gap Challenge
Shifting to detection engineering pipelines requires different skills than operating a traditional SIEM. The security analyst who excels at investigating alerts and writing correlation rules might not be comfortable deploying data processing infrastructure or writing Python code to parse custom log formats.
This skills gap is the biggest obstacle I hear about from teams considering the transition. You need people who understand both security tradecraft and data engineering. That's a rare combination, and those people are expensive when you can find them.
Some organizations solve this by upskilling existing security analysts, teaching them SQL, basic Python, and cloud infrastructure concepts. Others hire data engineers and teach them security. Neither path is quick. I've seen both approaches work, but they require sustained investment in training and a willingness to accept slower progress while the team builds competency.
The emergence of AI coding assistants has started to change this calculus slightly. Detection engineers using tools like GitHub Copilot report being able to implement complex data transformations or write detection logic in unfamiliar languages more quickly. The AI doesn't replace the need for security knowledge, but it can help bridge gaps in coding expertise.
That said, teams should be thoughtful about AI tool adoption in this context. The same concerns that drive organizations to implement Shadow AI Detection: Securing Multi-Cloud Environments apply to detection engineering workflows. You're potentially exposing detection logic and security telemetry to AI services, which creates its own risks.
Cost Dynamics and Hidden Expenses
The financial case for moving away from SIEM platforms usually starts with sticker shock over licensing costs. SIEM vendors typically charge based on data volume (events per second or gigabytes per day) or infrastructure size (number of monitored devices). Either way, costs scale linearly or worse as organizations grow.
A detection engineering pipeline built on cloud infrastructure has different cost dynamics. Data storage in S3 or equivalent is remarkably cheap. Compute costs are pay-per-use, so you only pay for queries you actually run. This can create dramatic savings, especially for organizations with large data volumes but relatively modest query workloads.
But the total cost of ownership includes more than infrastructure. You need to account for:
- Engineering time to build and maintain the pipeline
- Training costs to upskill team members
- Opportunity cost during the transition period when you're running parallel systems
- Potential compliance or audit friction if your industry expects to see a traditional SIEM
One security director told me their infrastructure costs dropped from $800,000 annually to roughly $200,000 after moving to a pipeline architecture. But they hired two additional detection engineers to build and maintain it, adding $400,000 in personnel costs. The net savings was still significant, and they gained capabilities that weren't possible with their previous SIEM. But it wasn't the 75% cost reduction the infrastructure numbers suggested in isolation.
The less obvious benefit comes from what you can do with the money saved. Teams that reduce their SIEM spending often reinvest those dollars in better endpoint detection tools, threat intelligence feeds, or additional security headcount. The pipeline architecture makes it easier to integrate these additional data sources, creating a compounding advantage over time.
Integration With Existing Security Stack
No security team operates in a vacuum. Detection engineering pipelines need to integrate with case management systems, SOAR platforms, threat intelligence feeds, and all the other tools that make up a modern security operations center.
This is where the flexibility of a pipeline architecture shines. Rather than being limited to the integrations your SIEM vendor has built, you can connect anything that speaks HTTP, reads from a message queue, or queries a database. Want to enrich alerts with threat intelligence from five different vendors? Write a simple service that calls their APIs. Need to route certain alerts to a specialized case management system? Add logic to your alert routing layer.
The flip side is that you're responsible for building and maintaining these integrations. SIEM vendors provide value by handling integration complexity, even if those integrations are sometimes limited or outdated. When you build your own pipeline, you own the integration layer completely.
I've seen teams handle this in different ways. Some build a thin integration hub that acts as a translation layer between their detection pipeline and downstream tools. Others adopt an event-driven architecture where detections are published to a message bus and various consumers subscribe to relevant events. Both approaches work, but they require upfront design thinking and ongoing maintenance.
The Policy implications are worth considering too. Some compliance frameworks explicitly reference SIEM platforms, and auditors may be more familiar with commercial products than custom-built pipelines. Teams making this transition often keep a minimal SIEM deployment purely for compliance documentation, routing a subset of logs to satisfy audit requirements while running their actual detection workloads on the pipeline.
Detection as Code and Version Control
The most profound shift in moving to detection engineering pipelines isn't technical, it's cultural. When detection logic lives in code repositories instead of SIEM rule builders, everything about how teams work changes.
Detections become reviewable. A junior analyst writes a new detection rule and opens a pull request. A senior detection engineer reviews the logic, suggests improvements to reduce false positives, and adds test cases. The detection gets deployed only after passing automated tests and human review. This workflow is standard practice in software engineering but nearly impossible with traditional SIEM platforms.
Detections become testable. You can write unit tests that verify your detection logic fires on known-bad behavior and doesn't fire on known-good behavior. You can run regression tests to ensure changes don't break existing detections. You can even use synthetic attack data to validate your entire detection stack end-to-end. These practices dramatically improve detection quality and reduce the fear of changing existing rules.
Detections become portable. When your detection logic is written in SQL, Python, or an open detection format like Sigma, you can move it between platforms. This reduces vendor lock-in and makes it easier to share detection logic with peers at other organizations. The open-source detection community has grown significantly as more teams adopt code-first approaches.
The Threats landscape evolves constantly, and detection-as-code practices make it much faster to respond. When a new attack technique emerges, a detection engineer can write a rule, test it against sample data, and deploy it to production in hours rather than waiting for a vendor to update their product or approve a support ticket.
This approach does require discipline. Without proper code review and testing, you can deploy broken detections that flood your SOC with false positives. Teams need to establish guardrails around who can deploy detections, what testing is required, and how to handle emergency updates when a critical threat emerges.
Benefits of the Pipeline Architecture
Having observed dozens of teams make this transition, certain advantages appear consistently:
Flexibility in data retention: Store different data types for different durations based on value and compliance requirements. Keep endpoint telemetry for 90 days but retain cloud infrastructure logs for seven years. SIEM platforms usually apply uniform retention policies because storage is expensive in their architecture.
Query performance at scale: Purpose-built query engines running against columnar storage formats (Parquet, ORC) deliver dramatically better performance than traditional SIEM search interfaces. Analysts can explore months of data interactively rather than waiting for scheduled searches to complete.
Support for diverse data sources: Ingest anything that can be formatted as structured data. Cloud API logs, custom application telemetry, threat intelligence feeds, and data from security tools that don't have SIEM integrations. The pipeline doesn't care about the source.
Separation of hot and cold data: Keep recent data in fast storage for real-time detection and interactive investigation. Archive older data to cheaper storage and query it only when needed for historical analysis or compliance. This tiering is difficult or impossible with traditional SIEM platforms.
Team autonomy: Detection engineers control their own infrastructure and can make changes without vendor support tickets or waiting for product roadmaps. Need to test a new detection approach? Spin up a development environment and experiment.
Cost predictability: Cloud infrastructure costs are transparent and scale smoothly. No surprise licensing bills when your data volume spikes or you add new data sources. You might pay more during an incident when query volume increases, but at least you can see exactly what you're paying for.
These benefits compound over time. The team that builds a strong detection pipeline in year one can expand its capabilities much faster in year two because the foundation is flexible and extensible.
Common Mistakes Teams Make
The transition from SIEM to detection engineering pipeline is littered with predictable mistakes. Having watched teams stumble through this, I can point to the most common pitfalls:
Underestimating operational complexity: Building a pipeline is the easy part. Operating it reliably, handling schema changes, managing data lifecycle, and maintaining performance requires ongoing effort. Teams that treat the pipeline as a one-time project rather than a system requiring continuous operation struggle.
Neglecting data quality: SIEM platforms often include data normalization and parsing that teams take for granted. When you build your own pipeline, you're responsible for ensuring data quality. Bad data in means bad detections out. Teams need to implement data quality monitoring and validation at ingestion time.
Over-engineering the initial implementation: The appeal of building your own platform is you can make it perfect for your needs. But teams that try to build the ultimate detection pipeline from day one usually get bogged down in architecture discussions and never ship anything. Start simple, prove value, then iterate.
Ignoring the investigation workflow: Detection is only half the job. Security analysts need tools to investigate alerts, pivot through related data, and understand attack scope. Some teams build beautiful detection pipelines but provide terrible investigation interfaces, leading to analyst frustration and resistance to the new platform.
Failing to migrate institutional knowledge: Your SIEM contains years of accumulated detection rules, correlation logic, and tribal knowledge about what matters in your environment. Teams that abandon their SIEM without systematically reviewing and migrating valuable detections often lose critical capabilities.
Skipping the security review: You're building infrastructure that processes sensitive security telemetry. The pipeline itself becomes a target. Teams need to apply the same security rigor to their detection infrastructure as they would to any critical system. Access controls, audit logging, encryption, and secure development practices all matter.
The most successful transitions I've seen are gradual. Teams identify one high-value use case, build pipeline infrastructure to handle it well, demonstrate results, then expand. Trying to replace your entire SIEM overnight is a recipe for failure.
Expert Tips for Making the Transition
Detection engineers who have successfully made this shift share some common wisdom:
Start with data lake fundamentals: Before building detection logic, get really good at data management. Understand partitioning strategies, compression formats, and lifecycle policies. A well-designed data lake makes everything else easier. A poorly designed one will haunt you for years.
Invest in data quality monitoring: Build observability into your pipeline from day one. Track data volume by source, monitor parsing failures, alert on unexpected schema changes. You can't trust detections running on data you don't trust.
Build abstraction layers thoughtfully: Create libraries and frameworks that make it easy for detection engineers to write new rules without understanding all the underlying infrastructure. But don't hide so much complexity that debugging becomes impossible.
Maintain compatibility with open standards: Use Sigma rules, STIX for threat intelligence, and other open formats wherever possible. This makes it easier to incorporate community-developed content and reduces the cost of switching platforms later if needed.
Document everything: The flexibility of a custom pipeline is also its weakness. Six months from now, nobody will remember why certain architectural decisions were made. Write it down. Maintain runbooks for common operations. Create diagrams showing data flow.
Plan for scale from the beginning: Your initial data volume might be modest, but successful pipelines tend to grow quickly as teams add new data sources. Design with scale in mind, even if you don't need it immediately. Rearchitecting a pipeline under production load is painful.
Build relationships with data engineering teams: If your organization has data engineers, make them your best friends. They understand distributed systems, data processing, and performance optimization better than most security folks. Collaborate rather than competing for resources.
The role of AI tools in detection engineering continues to evolve. Some teams use machine learning models to enhance their detection rules, identifying anomalies that rule-based logic would miss. But the same challenges that affect AI in other security contexts apply here too, including the issues explored in The Hidden Bias in Security AI: Yesterday's Threat Data Problem.
FAQs
Can small security teams realistically build detection engineering pipelines?
Small teams can absolutely adopt pipeline architectures, but they should start even more incrementally than large organizations. Focus on one high-value data source and one critical detection use case. Use managed services extensively rather than trying to operate complex infrastructure. Cloud providers offer services like Amazon Security Lake or Azure Monitor that provide pipeline-like capabilities with less operational overhead. The key is matching your ambition to your available engineering time. A simple pipeline that works is infinitely better than an ambitious architecture that never gets finished.
How do you handle compliance requirements that specifically mention SIEM platforms?
This comes up frequently in regulated industries. The practical answer is that most compliance frameworks care about capabilities, not specific product categories. They require log collection, correlation, retention, and investigation capabilities. A well-built detection pipeline provides all of these. Work with your compliance team and auditors early to explain your architecture and map pipeline components to specific compliance requirements. Some teams maintain a minimal SIEM deployment purely for compliance documentation, routing a subset of logs to satisfy audit requirements while running actual security operations on the pipeline. This hybrid approach can be a pragmatic bridge during transitions.
What happens to existing SIEM correlation rules during migration?
Migrating detection logic requires careful analysis. Start by reviewing your existing SIEM rules to understand which ones actually provide value. Many organizations discover they have hundreds of rules that never fire or only generate false positives. For valuable rules, you need to translate the detection logic to your new platform's query language and data model. This often reveals opportunities to improve the detection, since you're not constrained by SIEM limitations. Some teams use this as an opportunity to adopt Sigma rules, which provide a vendor-neutral format that can be converted to different query languages. The translation process takes time, but it forces teams to understand and validate their detection logic rather than just copying it blindly.
How do detection engineering pipelines handle real-time alerting?
Real-time detection requires stream processing rather than batch queries. Teams typically implement this using stream processing frameworks like Apache Kafka with Kafka Streams, Apache Flink, or cloud-native services like AWS Kinesis. Data flows through the stream processor, detection logic runs against each event or window of events, and matches generate alerts immediately. This architecture can achieve sub-second detection latency for high-priority threats. However, not all detections need real-time processing. Many teams use a hybrid approach: stream processing for time-sensitive detections and scheduled batch queries for detections that analyze patterns over longer time windows. The flexibility to choose the right processing model for each detection is one advantage of the pipeline approach.
What skills should we hire for when building a detection engineering team?
Look for people who combine security knowledge with technical depth in data systems. The ideal detection engineer understands attacker techniques and defensive strategies but can also write SQL, Python, or other programming languages fluently. They should be comfortable with infrastructure-as-code, version control, and software development workflows. That's a tall order, which is why these people command high salaries. If you can't find or afford perfect candidates, hire for attitude and core competency, then invest in training. A security analyst who wants to learn data engineering can be upskilled. A data engineer who's curious about security can learn threat modeling. What's harder to teach is the mindset of treating detection as an engineering discipline rather than an operational task.
How do you measure success when transitioning to a pipeline architecture?
Define metrics before you start. Obvious ones include cost savings, query performance improvements, and data retention expansion. But also measure capabilities you gained: new data sources integrated, reduction in time to deploy new detections, and detection coverage for specific attack techniques. Track analyst satisfaction through surveys or interviews. Are investigations faster? Are analysts more confident in the data? One metric that often gets overlooked is detection iteration velocity. How quickly can your team go from "we need to detect this new attack technique" to "we have a tested detection in production"? Teams with mature pipelines can often complete that cycle in hours or days, while SIEM-dependent teams measure it in weeks.
What role do commercial detection platforms play in a pipeline architecture?
Several vendors now offer detection platforms designed to integrate with pipeline architectures rather than replace them. These tools provide detection rule management, alert routing, investigation interfaces, and other capabilities built on top of your data lake. They're essentially the detection layer in the pipeline stack. Some teams find value in these products because they provide analyst-friendly interfaces and managed capabilities without the lock-in of traditional SIEM platforms. Others prefer to build everything custom using open-source tools. The right choice depends on your team's skills, budget, and tolerance for operational complexity. The key difference from traditional SIEM is that your data remains in your control, and you can swap out the detection platform without migrating all your data.
What to Watch
- Consolidation of open detection standards: The detection engineering community is coalescing around formats like Sigma and OpenDXL. Watch for these to gain broader tool support and become the default way to share detection logic across organizations.
- AI-assisted detection development: Generative AI tools specifically tuned for writing detection rules and analyzing security telemetry will become more common. These could lower the technical bar for detection engineering, but teams should remain cautious about the data exposure risks similar to those discussed in Shadow AI Liability: Who Pays When Unapproved LLMs Leak PII?.
- Cloud provider detection services: Amazon Security Lake, Microsoft Sentinel's data lake features, and Google's Chronicle represent cloud vendors building pipeline-like capabilities into managed services. These could provide easier on-ramps for teams that want pipeline benefits without building everything from scratch.
- Behavioral detection frameworks: As rule-based detection reaches its limits against sophisticated attackers, expect more focus on behavioral analytics and anomaly detection built into pipeline architectures. The challenge will be implementing these without the bias and data quality issues covered in The Hidden Bias in Security AI: Yesterday's Threat Data Problem.
Conclusion
The shift from SIEM platforms to detection engineering pipelines isn't a universal prescription. Organizations with small security teams, limited technical resources, or heavy compliance constraints may find traditional SIEM platforms remain the right choice. But for mature security programs with engineering capability, the pipeline approach offers compelling advantages in flexibility, cost, and detection capability.
This transition reflects the broader maturation of security operations as an engineering discipline. The same practices that transformed software development over the past two decades - version control, automated testing, continuous deployment, infrastructure as code - are now transforming how we build and operate detection capabilities.
The teams making this shift successfully share common characteristics: they invest in skills development, they start with focused use cases rather than trying to replace everything at once, and they treat detection infrastructure as a product that requires ongoing investment rather than a project with an end date.
If your organization is considering this transition, start by honestly assessing your technical capabilities and constraints. Talk to teams that have made the shift. Review your most valuable detections and understand what infrastructure changes would be required to implement them in a pipeline architecture. The decision shouldn't be driven by vendor frustration alone, but by a clear-eyed view of what capabilities you need and whether a pipeline approach can deliver them more effectively than your current platform.
For security leaders ready to explore detection engineering pipelines or discuss how this approach might fit your organization's needs, contact our team for a deeper conversation about architecture options and implementation strategies.
The future of security operations belongs to teams that treat detection as code, data as a strategic asset, and infrastructure as a competitive advantage. Whether you make that shift through a custom pipeline, a hybrid architecture, or evolved SIEM platforms that adopt these principles, the direction is clear: detection engineering is becoming a core competency that separates effective security programs from those that merely check compliance boxes.