Security Telemetry & Data Platform - SIEM Architecture
Build security data platforms with collection, normalization, enrichment, storage, analytics, and governance. Master SIEM architecture and data lakehouse patterns.
Security telemetry and data platform engineering treats security data as foundational infrastructure rather than a byproduct of security tools. Security engineers design resilient pipelines and data models that power detections, investigations, and compliance audits across the enterprise.
Treat security data as foundational infrastructure. Organizations that invest in data platform engineering build detection capabilities that scale with growth while maintaining data quality and cost efficiency.
Effective data platforms provide comprehensive collection, normalization, enrichment, storage, analytics, governance, and cost control for security data at scale, serving as the foundation for SIEM and log management, threat hunting, and security operations.
Data Collection and Ingest
Security data collection requires reliable ingestion from diverse sources across the enterprise. The collection layer must handle variable data volumes, ensure data completeness, and maintain low latency for time-sensitive detections while remaining resilient to source failures and network disruptions.
Data Sources
Agent-based sources include Endpoint Detection and Response (EDR) agents that provide deep visibility into host activity including process execution, file access, network connections, and registry modifications. EDR telemetry enables detection of endpoint threats and supports forensic investigation. Common EDR platforms include CrowdStrike Falcon, Microsoft Defender for Endpoint, and SentinelOne.
Agentless sources include network monitoring, cloud APIs, and SaaS integrations that reduce deployment burden while providing visibility into network traffic, cloud control plane activity, and third-party service usage. Agentless collection complements agent-based sources by covering infrastructure where agents cannot be deployed.
Identity sources encompass authentication logs, directory services, and identity provider telemetry that enable user behavior analytics and identity threat detection. Identity data from Okta, Azure AD, and Ping Identity provides critical context for correlating activity to users and detecting account compromise.
Cloud API sources including AWS CloudTrail, Azure Activity Log, and GCP Cloud Logging provide control plane visibility into cloud resource creation, modification, and access. Cloud APIs are essential for detecting cloud infrastructure attacks and maintaining compliance in cloud environments.
Application logs provide application-level visibility into authentication events, authorization decisions, business logic execution, and error conditions. Application security monitoring depends on well-structured application logs that capture security-relevant events.
Ingest Pipeline
Robust ingest pipelines implement backpressure handling to prevent data loss during traffic spikes by signaling upstream components to slow transmission when downstream capacity is exceeded. Backpressure mechanisms protect the pipeline from overflow while maintaining data integrity during high-volume events like security incidents or infrastructure failures.
Replay capability enables reprocessing of historical data when detection rules are updated, enrichment sources change, or parsing errors are corrected. Replay requires durable storage of raw events before transformation, typically using message queues like Apache Kafka or cloud equivalents like Amazon Kinesis.
Schema validation at ingestion ensures data quality by verifying that incoming events conform to expected structures before processing. Validation prevents malformed data from corrupting downstream analytics and enables early detection of source configuration problems.
Ingest resilience requires handling source failures gracefully through buffering, retry logic, and failover mechanisms. Pipeline health monitoring with metrics for ingestion rate, latency, error rate, and queue depth enables rapid detection and response to pipeline problems.
Collection Architecture
Distributed collection architectures deploy collectors close to data sources to reduce latency, minimize network traversal, and provide resilience through geographic distribution. Regional collectors aggregate data before forwarding to central processing, reducing bandwidth requirements and providing local buffering during connectivity disruptions.
Buffering at each collection tier handles temporary outages by storing events locally until downstream systems recover. Buffer capacity planning must account for maximum expected outage duration and data volume to prevent data loss during extended disruptions.
Compression reduces bandwidth consumption and storage costs while adding minimal processing overhead. Modern compression algorithms like Zstandard provide excellent compression ratios with fast compression and decompression speeds suitable for real-time pipelines.
Encryption in transit using TLS protects data confidentiality during transmission between collection tiers. Certificate management and rotation must be automated to maintain encryption without operational burden.
Data Normalization and Enrichment
Data normalization transforms diverse source formats into consistent schemas that enable cross-source correlation and simplified detection rule authoring. Enrichment adds contextual information that improves alert triage and investigation efficiency.
Common Schemas
Common schemas enable consistent analysis across heterogeneous data sources by providing standardized field names, data types, and semantic meanings. Analysts write detection rules once that apply across multiple sources, and correlation rules join events from different sources using common field names.
Elastic Common Schema (ECS) provides a comprehensive specification for standard field names across security and observability data. ECS defines fields for hosts, users, processes, files, network connections, and other common entities. Adoption of ECS enables cross-source correlation and simplifies detection rule portability between organizations.
Open Source Security Events Metadata (OSSEM) provides an event taxonomy and data dictionary specifically designed for security events. OSSEM defines event categories, types, and relationships that enable standardized security analysis and threat detection across diverse log sources.
Schema mapping transforms source-specific formats into common schemas through parsing, field extraction, and data transformation. Mapping configurations should be version-controlled and tested to ensure consistent normalization as sources evolve. Schema registries track field definitions and enable backward-compatible evolution.
Enrichment
Enrichment adds contextual information to raw events that improves triage prioritization and investigation efficiency. Enrichment transforms raw telemetry into actionable intelligence by providing the context analysts need to assess threat severity and business impact.
Asset enrichment adds information about the affected systems including business owner, criticality classification, environment (production, development, staging), and network zone. Asset context enables analysts to prioritize alerts affecting critical systems and route incidents to appropriate teams.
Identity enrichment adds information about users and service accounts including organizational role, department, manager, access privileges, and recent activity patterns. Identity context enables attribution and supports user behavior analytics that detect account compromise.
Geolocation enrichment adds geographic context to IP addresses enabling detection of impossible travel, access from unexpected countries, and geographic anomaly detection. Geolocation databases from providers like MaxMind require regular updates to maintain accuracy.
Threat intelligence enrichment correlates indicators of compromise (IOCs) including IP addresses, domains, file hashes, and URLs against threat intelligence feeds. Threat context includes threat actor attribution, campaign information, and confidence scores that inform alert prioritization.
Trace IDs for distributed systems enable correlation of events across microservices for a single request, supporting root cause analysis and attack path reconstruction. Tenant IDs in multi-tenant environments enable data isolation and tenant-specific analytics.
Enrichment Architecture
Near real-time enrichment ensures that detection rules operate on enriched data rather than raw events, enabling context-aware detections. Stream processing frameworks like Apache Flink and Apache Kafka Streams support real-time enrichment at scale.
Enrichment source caching improves performance by avoiding repeated lookups for frequently accessed enrichment data. Cache invalidation strategies must balance data freshness against lookup performance based on enrichment source update frequency.
Graceful degradation handles enrichment failures without blocking event processing by using default values, flagging unenriched events for later processing, or continuing with partial enrichment. Pipeline availability should not depend on enrichment source availability.
Enrichment versioning enables rollback when enrichment logic changes introduce errors and supports replay of historical data with updated enrichment. Version metadata attached to events indicates which enrichment logic was applied.
Storage and Query
Storage architecture balances query performance, cost efficiency, and retention requirements through tiered storage strategies. Query optimization ensures that detection rules and investigation queries execute within acceptable time and cost bounds.
Storage Tiers
Hot tier storage provides fast search performance for recent data using indexed storage systems like Elasticsearch or Splunk. Hot storage supports real-time alerting, interactive investigation, and dashboard queries but carries higher per-gigabyte costs than cold storage.
Cold tier storage provides cost-effective long-term retention using object storage like Amazon S3 with columnar formats for efficient analytics. Cold storage supports compliance retention requirements, historical analysis, and threat hunting across long time ranges at significantly lower cost than hot storage.
Automated tiering moves data from hot to cold storage based on age policies that reflect access patterns and retention requirements. Tiering automation reduces cost without manual intervention and ensures that data is available in the appropriate tier for expected access patterns.
Data lifecycle policies govern tiering transitions, retention periods, and deletion schedules. Policies must comply with regulatory requirements including minimum retention periods for compliance data and maximum retention limits for privacy-sensitive data.
SIEM vs Data Lakehouse
Traditional SIEM platforms provide security-focused search, alerting, and analytics optimized for security operations workflows. SIEM excels at real-time alerting, interactive investigation, and compliance reporting with security-specific features like detection rules, case management, and incident response workflows.
Data lakehouse architectures like Delta Lake, Apache Iceberg, and Apache Hudi provide flexible analytics on raw data using SQL engines like Databricks, Snowflake, or Amazon Athena. Lakehouse suits advanced analytics including threat hunting, machine learning model training, and historical forensics across long time ranges.
Hybrid architectures combine SIEM for operational security with lakehouse for advanced analytics, sending data to both platforms or integrating them through APIs. The SIEM handles real-time alerting while the lakehouse enables data science workloads and cost-effective long-term storage. Integration ensures that analysts can pivot between platforms during investigations.
Storage Formats
Columnar storage formats like Apache Parquet and Apache ORC optimize analytical queries by storing data by column rather than row. Columnar formats enable efficient compression, predicate pushdown, and projection that dramatically reduce data scanned for typical security queries that access subset of columns.
Table partitioning by time organizes data into time-based partitions that enable query engines to skip irrelevant data. Partitioning by day or hour reduces data scanned for time-bounded queries that dominate security analytics workloads.
Compression algorithms and levels should balance storage cost reduction against query performance impact. Dictionary encoding, run-length encoding, and general-purpose compression like Snappy or Zstandard provide compression ratios from 2x to 10x depending on data characteristics.
Indexing accelerates search queries through inverted indexes, bloom filters, and materialized views. Index selection should balance query acceleration against index maintenance overhead, focusing on high-value fields used in common queries.
Analytics Patterns
Streaming analytics provide near real-time detection for time-sensitive security events using stream processing frameworks that analyze events within seconds of collection. Streaming suits detections where response time is critical, such as active attack detection and automated response triggers.
Batch analytics enable deep forensics and complex analysis across large datasets using distributed query engines. Batch processing suits threat hunting, historical analysis, and machine learning model training that requires comprehensive data access.
Backfill workflows reprocess historical data through updated detection rules or enrichment logic, enabling retroactive threat detection when new indicators or techniques are identified. Backfill requires careful resource management to avoid impacting production workloads.
Continuous query optimization reduces cost through query plan analysis, materialized views, and query rewriting. Optimization should include monitoring of query patterns to identify opportunities for improvement.
Data Governance and Privacy
Data governance ensures that security data is classified, protected, and retained appropriately while enabling legitimate security operations. Privacy controls protect sensitive information while maintaining analytics value.
Data Classification
Security data classification categorizes information based on sensitivity and regulatory requirements, driving protection controls and retention policies. Classification levels might include public, internal, confidential, and restricted based on organizational data handling policies.
Sensitive data including credentials, personally identifiable information, and regulated data requires stronger protection through encryption, access controls, and audit logging. Protection controls should match data sensitivity to ensure proportionate security.
Automated data classification uses pattern matching, machine learning, and metadata analysis to identify sensitive data without manual review. Automation ensures consistent classification at scale and catches sensitive data that might escape manual review.
Data Retention
Retention policies balance compliance requirements mandating minimum retention periods against privacy regulations and cost considerations favoring shorter retention. Policy design requires input from legal, compliance, privacy, and security stakeholders.
Regulatory requirements including SOX, HIPAA, PCI DSS, and GDPR drive minimum retention periods for different data types. Compliance tracking ensures that data is retained for required periods and available for audits.
Automated retention enforcement applies retention policies without manual intervention, moving data between storage tiers and deleting data when retention periods expire. Automation reduces cost and ensures consistent policy application.
Deletion verification confirms that data is actually deleted when retention periods expire, including replicas, backups, and derived datasets. Verification supports compliance with privacy regulations requiring data deletion.
PII Minimization and Tokenization
Personally Identifiable Information (PII) minimization reduces privacy risk by eliminating unnecessary personal information from security data or replacing it with anonymized equivalents. Minimization should occur at collection or ingestion to prevent PII from entering storage.
Tokenization replaces PII with tokens that preserve analytics value while protecting privacy. Tokenization enables counting, correlation, and pattern analysis without exposing actual identifiers. Token mapping enables de-tokenization for authorized investigations.
Pseudonymization provides one-way transformation of identifiers that prevents re-identification without additional information. Pseudonymization protects identity while enabling analysis of behavior patterns across events.
PII handling must comply with privacy regulations including GDPR, CCPA, and sector-specific requirements. Compliance requires documentation of PII flows, processing purposes, and protective controls.
Access Controls
Access to security data must be controlled to prevent unauthorized access while enabling legitimate security operations. Security data often contains sensitive information about infrastructure, vulnerabilities, and incidents that could benefit attackers if exposed.
Role-based access control (RBAC) limits access by job function, providing coarse-grained control that covers most access requirements. Typical roles include SOC analyst with read access to security events, detection engineer with read/write access to detection rules, and administrator with platform configuration access.
Attribute-based access control (ABAC) provides fine-grained control based on data attributes, user attributes, and environmental context. ABAC enables policies like "analysts can only access data from their business unit" or "sensitive investigation data requires manager approval."
All access to security data should be logged with sufficient detail for audit and investigation. Access logs should capture who accessed what data, when, from where, and for what purpose. Access logging enables detection of unauthorized access and supports compliance audits.
Audit Trails
Comprehensive audit trails enable accountability by recording all significant actions on the data platform including data access, configuration changes, detection rule modifications, and administrative actions. Audit records should capture actor, action, target, timestamp, and outcome.
Audit log immutability prevents tampering by attackers attempting to cover tracks or insiders attempting to hide unauthorized access. Append-only storage, cryptographic chaining, and write-once media provide tamper evidence.
Audit log retention must meet compliance requirements and support investigation needs, typically requiring longer retention than operational data. Audit logs should be retained in tamper-evident storage separate from the platform being audited.
Audit log monitoring detects anomalous access patterns that might indicate unauthorized access, data exfiltration, or insider threats. Monitoring should alert on unusual query patterns, bulk data access, and access from unexpected locations.
Platform Reliability and Cost
Platform reliability ensures that security operations can depend on the data platform for alerting, investigation, and compliance. Cost optimization balances capability against expense to maximize value within budget constraints.
Service Level Indicators (SLIs)
Ingest latency measures time from event occurrence to event availability for querying, directly impacting detection timeliness. Latency SLOs typically target seconds to minutes depending on detection requirements, with alerting on latency increases that might indicate pipeline problems.
Data completeness measures the percentage of expected data actually received and processed successfully. Completeness monitoring compares received data against expected data using source-side metrics, heartbeat events, or baseline comparisons. Missing data creates detection blind spots.
Parse success rate measures the percentage of events successfully parsed and normalized. Parse failures indicate source format changes, parser bugs, or data corruption. High parse success rates ensure that collected data contributes to detection and analytics.
Query performance measures response time for common query patterns including dashboard rendering, detection rule execution, and investigation queries. Performance SLOs ensure that security operations workflows execute within acceptable time bounds.
Autoscaling
Autoscaling handles variable load by automatically adjusting compute capacity based on demand, ensuring availability during traffic spikes while minimizing cost during low-traffic periods. Security data volumes vary significantly with organizational activity, incidents, and new data source onboarding.
Metrics-based autoscaling uses queue depth, processing latency, CPU utilization, and memory usage to trigger scaling actions. Scaling policies should include appropriate cooldown periods to prevent thrashing and predictive scaling for anticipated traffic patterns.
Autoscaling limits prevent runaway cost from unexpected traffic surges or feedback loops. Maximum instance counts, cost budgets, and alerting on scaling events enable cost control while maintaining availability.
Cost Optimization
Sampling reduces data volume for high-volume, low-value sources by processing only a representative subset of events. Sampling should preserve statistical validity and ensure that security-relevant events are not dropped. Dynamic sampling adjusts rates based on content relevance.
Deduplication removes duplicate events that occur when sources retry transmission or events traverse multiple collection paths. Deduplication reduces storage and processing costs without losing information.
Compression reduces storage footprint and bandwidth consumption throughout the pipeline. Compression algorithm selection balances compression ratio against CPU overhead, with different choices appropriate for real-time versus batch processing.
Storage tiering moves aging data from expensive hot storage to economical cold storage based on access patterns. Tiering policies should reflect actual query patterns, moving data to cold storage when access frequency drops below thresholds.
Reliability
High availability architecture ensures that security operations can depend on the data platform during incidents when it is most needed. Availability targets for security platforms typically exceed 99.9% given the critical nature of security operations.
Resilience to failures prevents data loss and maintains operations during component failures through redundancy, replication, and failover mechanisms. Pipeline resilience ensures that temporary outages do not result in permanent data loss.
Disaster recovery testing validates that recovery procedures work as expected before they are needed in actual disasters. Regular DR drills identify gaps in procedures, documentation, and automation that could delay recovery.
Comprehensive monitoring enables rapid detection and response to platform problems. Monitoring should cover infrastructure health, pipeline metrics, data quality, and business-level indicators like detection coverage and analyst productivity.
Data Products and APIs
Data products expose platform capabilities to detection engineers, analysts, and external systems through well-defined interfaces. APIs enable automation, integration, and self-service access to platform capabilities.
Detections-as-Code
Storing detection rules in version control enables collaboration, code review, and change tracking using standard software development practices. Version control provides audit trails of rule changes, enables rollback, and supports branching for testing. For more on detection engineering practices, see internal security platforms.
Detection testing validates rule effectiveness using historical data, synthetic events, and attack simulations. Tests should verify true positive detection, false positive rates, and performance impact before production deployment.
Automated detection deployment through CI/CD pipelines ensures consistent, auditable rule deployment. Pipelines should include validation, testing, staged rollout, and automatic rollback on error detection.
Detection performance monitoring tracks rule execution metrics including alert volume, false positive rates, and execution time. Performance dashboards enable detection engineers to identify rules that need tuning, optimization, or retirement.
Investigation Notebooks
Investigation notebooks using Jupyter or similar platforms enable interactive analysis combining code, visualizations, and documentation. Notebooks suit complex investigations that require custom analysis beyond standard SIEM queries, including statistical analysis, machine learning, and attack reconstruction.
Notebook integration with the data platform provides direct access to security data through APIs or database connections. Integration should include authentication, authorization, and audit logging consistent with platform access controls.
Shareable notebooks enable collaboration between analysts working on the same investigation and knowledge transfer between experienced and junior analysts. Sharing platforms should support version control, access control, and commenting.
Notebook templates provide starting points for common investigation types including malware analysis, lateral movement investigation, and data exfiltration assessment. Templates encode investigation best practices and ensure consistent methodology.
Case Management Integration
Data platform integration with case management systems enables workflow automation from alert to resolution. Integration should support bi-directional data flow, allowing alerts to create cases and case updates to reflect in platform dashboards.
Evidence export capabilities enable analysts to extract query results, visualizations, and timeline data for case documentation and legal proceedings. Export formats should support chain of custody requirements and legal admissibility standards.
Tamper-evident evidence ensures integrity through cryptographic hashing, digital signatures, or blockchain-based verification. Tamper evidence supports legal proceedings and internal investigations where evidence integrity is challenged.
APIs and Extensibility
Well-designed APIs enable programmatic access to platform capabilities including data query, detection rule management, and administrative functions. APIs support automation, custom tooling, and integration with external systems.
API documentation using OpenAPI specifications and interactive documentation enables self-service adoption. Documentation should include examples, tutorials, and troubleshooting guidance.
API versioning enables platform evolution without breaking existing integrations. Versioning strategies should include deprecation policies, migration guides, and compatibility testing.
Rate limiting protects platform resources from abuse and ensures fair access across consumers. Rate limits should be documented, monitored, and adjustable based on consumer needs and platform capacity.
Conclusion
Security telemetry and data platform engineering treats security data as foundational infrastructure powering detections, investigations, and compliance audits at enterprise scale. Security engineers design resilient pipelines and data models that provide reliable, high-quality data to security operations while managing cost and complexity.
Success requires investment across the full data lifecycle: resilient collection from diverse agent and agentless sources, normalization to common schemas with contextual enrichment, tiered storage combining SIEM for operations and lakehouse for analytics, governance ensuring appropriate classification and retention, reliability through SLIs and autoscaling, and data products including detections-as-code and investigation notebooks. Organizations that invest in security data platform engineering build detection and response capabilities that scale with organizational growth while maintaining operational efficiency.
References
- Elastic Common Schema (ECS) - Standardized field names for security and observability data
- Open Source Security Events Metadata (OSSEM) - Security event taxonomy and data dictionary
- Sigma Detection Rule Format - Generic signature format for SIEM systems
- MITRE ATT&CK Framework - Knowledge base of adversary tactics and techniques
- Delta Lake and Apache Iceberg - Modern data lakehouse table formats
- NIST SP 800-92 - Guide to Computer Security Log Management
- Cloud Security Alliance (CSA) Security Guidance - Cloud security best practices