A timeline lists what happened, in order, with the source of each fact. It shows when the problem began, how it moved, and what responders did.
Use one clock
Hosts, firewalls and cloud services may log in different time zones. Convert everything to UTC and say so. The ISO 8601 style is unambiguous and sorts correctly as text.
$ date -u +%Y-%m-%dT%H:%M:%SZ
2026-03-09T14:02:11Z
$ date -u -d "2026-03-09 09:15:00 -0500" +%Y-%m-%dT%H:%M:%SZ
2026-03-09T14:15:00ZThe -d form shown is GNU date. BSD and macOS date use different options.
Check whether clocks were right
A machine with a drifting clock can make an effect appear before its cause. On many systemd machines you can check synchronisation:
$ timedatectl show -p NTPSynchronized
NTPSynchronized=yesThis tells you about now, not about last week. If you find an offset, record it and note the correction you applied. Do not edit the original log.
Gather events
$ journalctl --utc --since "2026-03-09 13:00:00 UTC" --until "2026-03-09 15:00:00 UTC" -u ssh
2026-03-09... Accepted publickey for deploy from 203.0.113.50Output is shortened here. The SSH unit is usually ssh on Debian and Ubuntu and sshd on Fedora and RHEL.
Put each event in a row:
| Time (UTC) | Host | Event | Source | Confidence | |---|---|---|---|---| | 13:40:02 | web1 | deploy logged in by key | journal | confirmed | | 13:52 | web1 | unknown script created | file mtime | likely |
File modification times can be changed by a user with access, so treat them as clues and look for a second source.
Separate fact from inference
"Login from 203.0.113.50" is recorded. "The attacker logged in" is your interpretation. Keep interpretations in a separate column or mark them clearly. Also record gaps. "No web logs between 13:10 and 13:30" is a finding: logging may have failed or been removed.
Add responder actions too, such as when a host was isolated. Otherwise your own changes can later look like attacker activity.
Try it
Run journalctl --utc --since "30 min ago" on your own system (you may need sudo to see everything). Pick three events and write them into the table above with a source and confidence for each. The text processing lab helps with filtering long logs.
Check your understanding
Incident Timelines
All 3 sections · no timer
Unlimited retries
Questions from every section are combined into one assessment. Answer them all correctly to complete the article.
Your completion saves in this browser. Sign in to sync it to your account.