Digital Forensic Tools

Log analysis basics

Short answer

A log is a record of events made by a system, such as sign-ins, errors or connections. Log analysis means collecting these records, putting them in order and reading them to explain what happened.

What logs are

Logs are written by operating systems, applications, network devices and cloud services. Each entry usually has a time, a source and a message. NIST SP 800-92 explains why organisations need sound log management and how to run it.

Logs are often the only record of past activity, so they are valuable evidence.

Steps in analysis

A simple routine keeps the work clear.

  • Identify which logs exist and how long they are kept.
  • Collect copies and hash them.
  • Normalise time to one time zone.
  • Filter by account, address or time window.
  • Look for patterns, gaps and unusual entries.
  • Write down what you found and what you could not see.

Common problems

Logs from different systems use different formats and clocks. A clock that is off by minutes can break a story. Logs can also be deleted or changed by someone with access, so a gap or a cleared log is a finding in itself.

Rule based tools, such as those using Sigma rules, can help to find known patterns, but results still need review.

Reporting

Say what the log shows and what it does not show. A log entry proves that the system recorded an event, not who was at the keyboard. Procedures and laws differ by country and agency, so follow your lab's own procedure.

Common mistakes

  • Not checking the clock or time zone of each log.
  • Reading only matching lines and missing the gap before and after.
  • Working on the original log instead of a copy.
  • Treating an account name as a specific person.
  • Overlooking that logs may have rotated or expired.

Key terms

Log
A record of events written by a system.
Normalisation
Converting entries to a common format and time.
Retention
How long logs are kept.
Log rotation
Replacing old log files with new ones.
Sigma
A shared rule format for describing log detections.

Questions you may be asked

Why normalise time before comparing logs?

Different systems use different time zones and clocks, so entries must be converted to compare them fairly.

What does a cleared log tell you?

That someone with access removed records. The gap itself is worth reporting.

Free tools to practise with

Learn more

Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.