Overview
Security Information and Event Management (SIEM) platforms are the nerve centre of modern enterprise security operations. When deployed correctly, they correlate log data from hundreds of sources, detect threats in near real-time, and provide the forensic trail needed for compliance and incident response. This guide walks through deploying a production-grade SIEM with scalable log analytics, covering architecture, data normalisation, detection rules, and operational tuning.
1. Choosing Your SIEM Architecture
Enterprise SIEM deployment begins with a scale-appropriate architecture decision:
| Pattern | Best For | Log EPS Range |
|---|---|---|
| Single-node (e.g. Wazuh on-prem) | SMB / lab | < 5,000 EPS |
| Distributed hot-warm (Elasticsearch) | Mid-market | 5K – 100K EPS |
| Cloud-native (Microsoft Sentinel, Google Chronicle) | Enterprise | 100K+ EPS |
Hot-warm-cold data tiering is critical for cost control. Index hot data (7 days) on SSD-backed nodes, warm data (30 days) on HDD nodes, and archive cold data (90+ days) to object storage like S3 or GCS.
2. Log Source Normalisation with Common Event Format
Raw logs arrive in dozens of formats. Use a normalisation pipeline (Logstash, Fluent Bit, or OpenTelemetry Collector) to map all events to the Elastic Common Schema (ECS) or OCSF before indexing.
Example Logstash filter for Windows Security event 4625 (Failed Logon):
filter {
if [winlog][event_id] == 4625 {
mutate {
add_field => {
"event.category" => "authentication"
"event.outcome" => "failure"
"event.type" => "start"
}
copy => { "[winlog][event_data][TargetUserName]" => "user.name" }
copy => { "[winlog][event_data][IpAddress]" => "source.ip" }
}
}
}
Normalising at ingest rather than query time reduces detection latency from minutes to seconds.
3. Critical Log Sources to Ingest
Prioritise these sources for maximum coverage:
- Windows Security Event Log — Authentication, privilege escalation (4624, 4625, 4672, 4688)
- Linux auditd / syslog — sudo, SSH, file access
- Firewall and proxy logs — Network perimeter visibility
- Active Directory / Entra ID — Identity plane activity
- EDR telemetry — Process tree, registry, network events
- Cloud provider audit logs — AWS CloudTrail, Azure Monitor, GCP Cloud Audit
- Application logs — Web servers (Nginx/Apache), databases, custom apps
4. Writing Effective Detection Rules
Detection rules are only as good as your normalised data. Use Sigma rules for platform-agnostic detection that compiles to Elasticsearch, Splunk, Microsoft Sentinel, or Chronicle DSL.
Example Sigma rule — detecting Living-off-the-Land (LoTL) via WMIC lateral movement:
title: WMIC Remote Execution via WMI
status: stable
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\wmic.exe'
CommandLine|contains:
- 'node:'
- 'call'
- 'process'
condition: selection
level: high
tags:
- attack.execution
- attack.t1047
Test rules in chronological replay mode against historical logs before deploying to production.
5. SIEM Tuning: Reducing False Positives
A noisy SIEM generates alert fatigue and causes analysts to miss real threats. Systematic tuning workflow:
- Baseline normalcy — Run rules for 72 hours in monitor-only mode; identify high-volume false-positive sources.
- Whitelist by asset class — Suppress known-good service accounts and maintenance scripts.
- Risk-score enrichment — Add asset criticality (server vs. workstation) and user risk scores to alerts.
- Threshold tuning — Brute-force rules work better with a sliding-window count (≥ 5 failures in 60s) than a fixed count.
- Feedback loops — Analysts must mark analyst verdicts (true/false positive) so ML detection models can learn.
6. Log Retention and Compliance
| Regulation | Minimum Retention | Recommended |
|---|---|---|
| PCI-DSS 4.0 | 12 months online | 12 months + archival |
| HIPAA | 6 years | 7 years + immutable |
| SOC 2 | Auditor discretion | 12 months searchable |
| GDPR | Data minimisation | 90 days + pseudonymisation |
Use WORM (Write-Once Read-Many) object storage for compliance-grade log archival. In AWS: S3 Object Lock; in Azure: Immutable Blob Storage.
7. Measuring SIEM Effectiveness
Track these operational metrics weekly:
- Mean Time to Detect (MTTD) — Target < 60 minutes for critical alerts
- Alert-to-investigation ratio — > 30:1 indicates a tuning deficit
- Log ingestion completeness — Percentage of expected sources reporting in the last 15 minutes
- Detection coverage — MITRE ATT&CK technique coverage map, updated quarterly
Further Resources
For professional SIEM deployment consulting, red-team validation, and enterprise VAPT services, visit hSECURITIES. The hSECURITIES Security Research Division provides end-to-end security programme support for regulated industries.
Authored by hSECURITIES Security Research Division.
Top comments (0)