What is Log Management?
Log management is the process of generating, collecting, storing, protecting and finally deleting the records your systems write about what happened on them. In a SOC it sets the limits of every detection and investigation: an event that was never logged, never reached central storage or was purged too early cannot raise an alert or rebuild a timeline.
Definition
- Log Management
- Log management is the process of generating, collecting, storing, protecting and finally deleting the records your systems write about what happened on them. In a SOC it sets the limits of every detection and investigation: an event that was never logged, never reached central storage or was purged too early cannot raise an alert or rebuild a timeline.
How Log Management Works
NIST's guide to the subject, SP 800-92, defines log management as "the process for generating, transmitting, storing, analyzing, and disposing of computer security log data." Each of those stages can fail quietly, and you usually find out in the middle of an investigation, so it pays to know them before deciding what to collect and how long to keep it.
The NIST life cycle, and the revision still in draft
SP 800-92 dates from September 2006 and is still the final version on NIST's CSRC site. Its revision, SP 800-92 Rev. 1 Cybersecurity Log Management Planning Guide, came out as an initial public draft on 11 October 2023. The comment period closed on 29 November 2023 and no final version has followed. The draft rewrites the definition as "generating, transmitting, storing, accessing, and disposing of log data", with accessing in place of analyzing, and reorganizes the guide as a planning playbook of four plays, starting with an inventory of log source types. Its note for federal agencies still sends readers to OMB M-21-31, which OMB rescinded in May 2026 (see the retention section).
| Stage | What it means in a SOC | How it usually fails |
|---|---|---|
| Generate | Audit policy and verbosity on each source | The event fires but leaves out the field the detection needs |
| Transmit | Agents, Windows Event Forwarding, syslog to a collector | A forwarder stops or UDP datagrams drop, and nobody notices |
| Store | Hot and cold tiers, integrity controls | The local log overwrites itself before it is forwarded |
| Analyze or access | Parsing, search, detection rules | Fields stay inside an unparsed message, so rules never match |
| Dispose | Deletion when the retention period ends | Data ages out while an investigation still needs it |
What a SOC collects first
The joint guide Best practices for event logging and threat detection (August 2024), led by the Australian Signals Directorate's ACSC with co-authors including CISA, the FBI and the NSA, ranks log sources for enterprise networks. The top five are critical systems and data holdings likely to be targeted; internet-facing services, including remote access; identity and domain management servers; any other critical servers; and edge devices such as boundary routers and firewalls. User computers come 10th, web proxies 12th and DNS services 13th. For cloud services the guide asks for all control plane operations, "including API calls and end user logins."
That list ranks systems. On those systems, these are the events most worth turning on first, with the setting that decides whether each one is any use:
| Source | Events | What it answers | Setting to check |
|---|---|---|---|
| Windows logons (domain controllers, servers) | 4624 logon, 4625 failed logon | Who signed in where, and with which logon type | Audit Logon subcategory |
| Kerberos on domain controllers | 4768 TGT request | Which account asked for a ticket, from which IP | Audit Kerberos Authentication Service |
| Process creation | 4688, or Sysmon Event ID 1 | What ran and what launched it | "Include command line in process creation events", not configured by default |
| PowerShell | 4104 script block | The script content PowerShell processed | "Turn on PowerShell Script Block Logging" |
| Sysmon network and DNS | Event ID 3, Event ID 22 | Which process connected to or resolved what | Event ID 3 is disabled by default |
| Firewalls and edge devices | Allow and deny records | Source, destination, port and action | Logging on allow rules too, not only on denies |
| DNS resolvers and web proxies | Queries and requests per client | Which host looked up or fetched what | The client's IP is kept, not the forwarder's |
| Identity provider and cloud control plane | Sign-ins, API calls, admin changes | Who changed what in the tenant | Both read and write activity are captured |
The Windows events we document in depth are on the event ID hub. Sysmon covers what the Security log leaves out: Microsoft documents that its process creation event carries the full command line and a ProcessGUID for correlation, and that Event ID 22 is written whenever a process makes a DNS query, cached or not.
Retention: hot, cold and the federal numbers that changed in 2026
Hot storage is what detections and analysts search directly. Cold storage costs less and needs a restore or rehydration step before you can query it. The ASD guide recommends tiering logs this way and warns that many systems overwrite old logs once their storage allocation is exhausted, which is one more reason to forward logs off the device early.
The most specific public retention numbers come from US federal policy, and they changed this year. OMB M-21-31 (27 August 2021) defined four event logging tiers, from EL0 (Not Effective) to EL3 (Advanced), and for most log categories required 12 months in active storage plus 18 months in cold data storage, with full packet capture kept for 72 hours. OMB M-26-14 (22 May 2026) states "Effective immediately, OMB Memorandum M-21-31 is rescinded", because keeping "vast quantities of logging data without clear utility" had proved neither operationally feasible nor cost-effective for most agencies. The new minimum:
- logs stay searchable for 6 months after creation, which the memo defines as usable by detections and analytics without any preparation step;
- and retrievable for a year, meaning usable after steps such as moving data out of an archive or "thawing" it from cold storage.
M-26-14 replaces EL0 to EL3 with a maturity model that runs from Ineffective (Level 0) to Optimal (Level 4) and tasks CISA with a logging reference architecture. Both memos apply to US federal agencies (national security systems and some Defense and Intelligence Community systems are excluded), not to private companies. Before you trim retention to six months, weigh the ASD guide's warning that it can take up to 18 months to discover a cyber security incident.
Worked example (illustrative figures, not a benchmark). Suppose your sources produce 40 GB of parsed logs a day before compression, with 1 TB counted as 1,000 GB:
| Policy | Searchable (hot) | Cold | Total kept |
|---|---|---|---|
| M-26-14 baseline: 6 months searchable, 12 months retrievable | 182.5 days × 40 GB = 7.3 TB | The other 182.5 days: 7.3 TB | 14.6 TB |
| M-21-31: 12 months active plus 18 months cold | 365 days × 40 GB = 14.6 TB | 547.5 days × 40 GB = 21.9 TB | 36.5 TB |
The rescinded rule meant twice the hot storage and two and a half times the total volume. That difference is the cost argument M-26-14 makes, and the reason to set retention per source rather than one number for everything: authentication and process events earn the longest searchable window, verbose debug output can go cold early or not be kept at all.
A simulated case: the log that was collected but said nothing
Simulated example generated by SOCSimulator Research. Hosts, domains, IPs and times are invented; the event ID, field names and Group Policy setting are Microsoft's.
The SIEM has a rule that alerts when powershell.exe runs with -EncodedCommand or -enc on its command line. On 5 October a user on WS-022 opens an HTA file from an email. Six days later the web proxy matches 198.51.100.23 against a new threat intelligence feed, and the analyst pulls process creation for the host from the SecurityEvent table:
TimeGenerated Computer EventID ParentProcessName NewProcessName CommandLine
2026-10-05 09:12:40 WS-022.corp.example 4688 C:\Windows\explorer.exe C:\Windows\System32\mshta.exe
2026-10-05 09:12:44 WS-022.corp.example 4688 C:\Windows\System32\mshta.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
2026-10-05 09:12:51 WS-022.corp.example 4688 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\System32\rundll32.exeCommandLine is empty on every row. The host was auditing process creation, its 4688 events reached the SIEM and it never went silent, but the Group Policy setting "Include command line in process creation events" had never been applied to the workstation OU. Microsoft documents that the setting is not configured by default, and that while it is disabled or not configured, 4688 leaves the command line out. The encoded-command rule had nothing to match. Script Block Logging was off as well, so no 4104 recorded the script, and Sysmon ran only on servers.
What was collected still had a use. mshta.exe starting powershell.exe is a parent and child pair that a rule can catch with no command line at all, and that rule went in the same day. The post-incident report filed it as a log management gap: the events existed, in a shape the detection could not use.
This Microsoft Sentinel query finds hosts that send 4688 without command lines before an incident does:
// Hosts sending process creation (4688) with no command lines in the last 24 hours
SecurityEvent
| where TimeGenerated > ago(24h)
| where EventID == 4688
| summarize Processes = count(), WithCommandLine = countif(isnotempty(CommandLine)) by Computer
| where WithCommandLine == 0
| order by Processes descAnd this one lists sources that went quiet, computers that sent Security events during the last week but none in the last 24 hours:
// Windows hosts that stopped sending Security events
SecurityEvent
| where TimeGenerated > ago(7d)
| summarize LastEvent = max(TimeGenerated) by Computer
| where LastEvent < ago(24h)
| order by LastEvent ascBoth use the documented SecurityEvent schema and assume Windows Security events are already collected into Sentinel. Decommissioned machines also appear in the second result, so check the asset inventory before you open a ticket.
Syslog from network devices and Linux hosts
Network devices, Linux hosts and many appliances send syslog. RFC 5424 starts each message with a priority value: the facility number multiplied by 8, plus the severity. Facility 10 (security/authorization) at severity 6 (Informational) becomes <86>. Severities run from 0 (Emergency) to 7 (Debug), and facilities 4 and 10 both carry security/authorization messages. Plain syslog over UDP port 514 has no delivery guarantee: RFC 5426 warns that messages "can be lost in transit without any notice," and that an attacker can intercept and discard them to hide activity. For security sources, use syslog over TLS on TCP port 6514 (RFC 5425). The ASD guide recommends TLS 1.3 and cryptographic verification to protect logs in transit and at rest.
Where log management ends and the SIEM begins
Log management is the pipeline and the archive: collect, parse, store, protect, keep for the right period, delete. A SIEM is the analysis layer on top, where correlation rules and detections run on whatever reaches it. The ASD guide describes the split directly: a centralised logging facility, such as a secured data lake, aggregates logs and forwards select, processed logs to SIEM and XDR tools. A detection can only fire on data that reaches the SIEM in the shape the rule expects. That is why log management problems show up in a SOC as alerts that never fired.
Log Management in SOC Operations
You rely on log management in every investigation, usually without seeing it. Before you write "no lateral movement observed" in a case, check that the hosts in question were logging at the time, at the right verbosity, and that the data reached the SIEM instead of staying in a local event log. A source that goes silent deserves its own alert: attackers clear or stop logs to hide what they did, and a cleared Windows Security log writes event 1102. Know your retention windows too. If an investigation may outlast the searchable period, export or preserve the relevant data before it moves to cold storage or ages out. When you find a gap, such as 4688 without command lines, Sysmon missing on a class of servers or a firewall whose syslog export broke, write it up for the SIEM engineering team with the affected hosts and the detection it blinds.
Practice Log Management in a Real SOC
SOCSimulator provides hands-on training with realistic SIEM, XDR, and Firewall interfaces. Build real analyst skills investigating log management scenarios with zero consequences, free.
Frequently Asked Questions
- What are the key differences between log management and a SIEM?
- Log management collects, parses, stores, protects and eventually deletes logs, and answers whether you have the data and can search it. A SIEM analyzes what it receives: it correlates events across sources and raises alerts. Most SIEMs store logs too, but the 2024 ASD-led guide describes a common design: a central store such as a secured data lake keeps everything and forwards a processed subset to the SIEM.
- What are the four types of logs?
- There is no standard list of four. NIST SP 800-92 groups computer security logs into three categories: security software logs, operating system logs and application logs. Other guides add network device, audit or cloud logs. For SOC work a more useful split is by the question each log answers: identity (who signed in), process (what ran), network (where it connected) and cloud control plane (what changed).
- What is the best log management software?
- There is no single best one. Judge a platform on your own data: it should parse the sources you actually run, keep a searchable window as long as your investigations last and make cold data retrievable without days of restore work. Ingest one day of Windows Security events and firewall logs during the evaluation and check that fields such as the 4688 command line arrive parsed and searchable.
Sources
- NIST SP 800-92: Guide to Computer Security Log Management (September 2006, final)
- NIST SP 800-92 Rev. 1 (Initial Public Draft): Cybersecurity Log Management Planning Guide (October 2023)
- ASD's ACSC, CISA, FBI, NSA et al.: Best practices for event logging and threat detection (August 2024)
- OMB M-26-14: Ensuring Effective and Efficient Agency Logging and Network Visibility to Defend Against Evolving Cyber Threats (22 May 2026)
- OMB M-21-31: Improving the Federal Government's Investigative and Remediation Capabilities Related to Cybersecurity Incidents (27 August 2021, rescinded by M-26-14)
- Microsoft Learn: Command line process auditing (event 4688)
- Microsoft Learn: about_Logging_Windows (PowerShell Script Block Logging, event 4104)
- Microsoft Learn: Sysmon
- Microsoft Learn: 4624(S) An account was successfully logged on
- Microsoft Learn: 4768(S, F) A Kerberos authentication ticket (TGT) was requested
- Azure Monitor Logs reference: SecurityEvent table
- RFC 5424: The Syslog Protocol
- RFC 5426: Transmission of Syslog Messages over UDP
- RFC 5425: Transport Layer Security (TLS) Transport Mapping for Syslog
Related Terms
Security Information and Event Management (SIEM) is a platform that aggregates, normalizes, and corr...
Alert correlation combines multiple related security events from different sources into a unified, h...
Threat hunting is the proactive search through security telemetry for attackers that existing contro...
Digital forensics is the scientific process of collecting, preserving, analyzing, and presenting dig...
Incident response (IR) is how a security team detects, contains, removes and recovers from an incide...
Living-off-the-land (LOTL) is an attack technique where an adversary carries out reconnaissance, lat...
More Processes Terms
Related SOC Training Resources
Event ID 1102: Audit Log Cleared & How to Detect It
Event ID 1102 fires whenever the Windows Security log is cleared. Learn who cleared it, why it demands investigation, an…
Read more Event IDEvent ID 7045: New Service Installed & How to Detect It
Event ID 7045 fires when Windows installs a new service. Learn the fields, TP/FP triage, and Sigma-grounded hunts SOCSim…
Read more TechniqueIndicator Removal (T1070): Detection Training
Indicator Removal is the cleanup step: an adversary deletes or alters the artifacts that would expose the intrusion, cle…
Read more Career PathSOC Analyst (Tier 1) Career Guide: Salary & Skills
Tier 1 SOC Analysts are the front line. You monitor alert queues, triage incoming detections, classify them as true or f…
Read more Career PathIncident Responder Career Guide: Salary & Skills
Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…
Read more Career PathDFIR Analyst Career Guide: Salary & Skills
DFIR Analysts combine forensic investigation with incident response. You collect and analyze digital evidence from compr…
Read more ComparisonSOCSimulator vs LetsDefend: Comparison
SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…
Read more ComparisonSOCSimulator vs Security Blue Team: Comparison
SOCSimulator provides continuous operational training that keeps your skills sharp between shifts. Security Blue Team pr…
Read more ToolSIEM Training Console: SOCSimulator
The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…
Read more ToolFirewall Training Console: SOCSimulator
The Firewall console in SOCSimulator replicates the log analysis experience of enterprise platforms like Palo Alto Netwo…
Read more TechniqueMITRE ATT&CK® Techniques: Detection Training Library
Browse all MITRE ATT&CK® techniques with detection strategies and example alerts.
Read more Career PathCybersecurity Career Paths: 2026 Guide
Explore SOC analyst career paths with salary data, required skills, and certification roadmaps.
Read more