Skip to main content
ProcessesSIEMFirewall

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).

StageWhat it means in a SOCHow it usually fails
GenerateAudit policy and verbosity on each sourceThe event fires but leaves out the field the detection needs
TransmitAgents, Windows Event Forwarding, syslog to a collectorA forwarder stops or UDP datagrams drop, and nobody notices
StoreHot and cold tiers, integrity controlsThe local log overwrites itself before it is forwarded
Analyze or accessParsing, search, detection rulesFields stay inside an unparsed message, so rules never match
DisposeDeletion when the retention period endsData 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:

SourceEventsWhat it answersSetting to check
Windows logons (domain controllers, servers)4624 logon, 4625 failed logonWho signed in where, and with which logon typeAudit Logon subcategory
Kerberos on domain controllers4768 TGT requestWhich account asked for a ticket, from which IPAudit Kerberos Authentication Service
Process creation4688, or Sysmon Event ID 1What ran and what launched it"Include command line in process creation events", not configured by default
PowerShell4104 script blockThe script content PowerShell processed"Turn on PowerShell Script Block Logging"
Sysmon network and DNSEvent ID 3, Event ID 22Which process connected to or resolved whatEvent ID 3 is disabled by default
Firewalls and edge devicesAllow and deny recordsSource, destination, port and actionLogging on allow rules too, not only on denies
DNS resolvers and web proxiesQueries and requests per clientWhich host looked up or fetched whatThe client's IP is kept, not the forwarder's
Identity provider and cloud control planeSign-ins, API calls, admin changesWho changed what in the tenantBoth 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:

PolicySearchable (hot)ColdTotal kept
M-26-14 baseline: 6 months searchable, 12 months retrievable182.5 days × 40 GB = 7.3 TBThe other 182.5 days: 7.3 TB14.6 TB
M-21-31: 12 months active plus 18 months cold365 days × 40 GB = 14.6 TB547.5 days × 40 GB = 21.9 TB36.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.exe

CommandLine 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 desc

And 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 asc

Both 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.

Free

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

More Processes Terms

Event ID

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 ID

Event 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
Technique

Indicator 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 Path

SOC 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 Path

Incident Responder Career Guide: Salary & Skills

Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…

Read more
Career Path

DFIR Analyst Career Guide: Salary & Skills

DFIR Analysts combine forensic investigation with incident response. You collect and analyze digital evidence from compr…

Read more
Comparison

SOCSimulator vs LetsDefend: Comparison

SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…

Read more
Comparison

SOCSimulator vs Security Blue Team: Comparison

SOCSimulator provides continuous operational training that keeps your skills sharp between shifts. Security Blue Team pr…

Read more
Tool

SIEM Training Console: SOCSimulator

The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…

Read more
Tool

Firewall Training Console: SOCSimulator

The Firewall console in SOCSimulator replicates the log analysis experience of enterprise platforms like Palo Alto Netwo…

Read more
Technique

MITRE ATT&CK® Techniques: Detection Training Library

Browse all MITRE ATT&CK® techniques with detection strategies and example alerts.

Read more
Career Path

Cybersecurity Career Paths: 2026 Guide

Explore SOC analyst career paths with salary data, required skills, and certification roadmaps.

Read more