Log Retention
Cheat sheet · https://pcornel.dk/topic.php?topic=4862
Answer
Log Retention defines how long security telemetry remains available at each storage tier and in what searchable, recoverable and legally governed form, balancing investigation windows, detection needs, capacity, privacy, cost and evidence obligations.
Remember
- Retention period configured ≠ required data remains searchable and recoverable for that period.
- Archive present ≠ timely investigation access or preserved schema/context.
- Source configured ≠ required event generated, transported, retained and queryable.
- Telemetry observation ≠ root cause, intent or complete security state without independent context.
First checks
- Retention policy per log type — duration
- SIEM hot/cold storage settings — implementation
- Legal/regulatory requirements — minimums
Verify in this order
logs → hot → cold/archive → deletion
Where it usually breaks
First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.
Logging & Monitoring → Log Retention proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Source | Required asset/service, audit policy, provider/channel and event class | Source inventory alone does not prove event generation |
| Delivery | Local queue, transport, collector receipt and timestamps | Configured destination does not prove lossless delivery |
| Preservation | Retention, access, raw record, integrity and provenance | Stored record does not prove source truth or complete coverage |
| Interpretation | Provider fields, identity, policy/result and adjacent evidence | Event presence does not prove intent, causation or root cause |
| Monitoring | Query/detection plus source and pipeline health | No alert does not prove no activity or compromise |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4862