SOC operations

Log Analysis

Overview

Log analysis is reviewing event records to understand what happened on a system, network, account, or application — the core skill behind investigating any alert.

Key concepts

  • Timestamps, IPs, ports, protocols
  • Usernames, hostnames, event IDs, process trees
  • File hashes and IOCs

How it works

Log analysis is the process of reviewing event records to understand what occurred on a system, network, account, or application. SOC analysts use it to identify suspicious behavior, investigate alerts, confirm incidents, determine affected systems, and reconstruct the timeline of an event.

Network-level fields

TermMeaning
TimestampThe date and time an event occurred.
Source / destination IP addressThe IP initiating a connection, and the IP receiving it.
PortA numbered communication endpoint used by network services.
ProtocolThe rules used for communication — TCP, UDP, HTTP, HTTPS, DNS, SSH.

Host & identity fields

TermMeaning
UsernameThe identity associated with an account login or action.
HostnameThe name assigned to a computer, server, or network device.
Event IDA numerical identifier categorizing a specific type of logged event.
Process / command lineA running program instance, and the text-based command used to start it.
Process treeA record showing parent-child relationships between processes.

Evidence fields

TermMeaning
File hashA unique value calculated from a file's contents, used to identify known malicious or known-safe files. Use SHA-256 or higher, and compare against the distributor's published hashes.
Indicator of compromise (IOC)Evidence a system may have been attacked — a malicious hash, suspicious domain, known malicious IP, or unauthorized account.