What is a Log?
Logs, told as a story about the one-line diary kept at every door in the castle.
Things happen in the castle and just pass.Who opened which door, and when — once it's over, nobody knows.
When something goes wrong, there's nobody to ask."Who was in the vault last night?" — nobody knows.
A log is the one-line record kept all over the castle.'When, who, where, what' — one line at a time. Every door, every counter, every thing.
Gather the lines in time order, and they become a story.Alone, one line; together, the thief's trail. The big screen gathers and lines them up. Months of them go in a drawer.
Unwritten lines don't exist, thieves tear pages, and too many can't be read.A door writes only if it's told to. Thieves tear the diary first — so a copy goes far away. And thousands a day are beyond any person — the guard room's big screen reads them instead.
A log = the one-line record — when, who, where, what — kept all over the castle. Gathered in time order, it becomes a story.
The first ingredient of any investigation. Four jobs: write it (configure), gather it (SIEM), protect it (send it away), keep it (retention). Start by setting the clocks.
When grown-ups say it
- Event
- One line. One thing that happened: a door opened, a letter came.
- Timestamp
- When. Every clock in the castle must agree, or nothing lines up (NTP).
- Source
- Where. Which door, which counter, which thing wrote it.
- Audit log
- Who changed what. Took a key, swapped a hat. → the key ledger
- Access log
- The list of counter visitors. Who handed in which note, when. → the note checker
- Log forwarding
- Sending a copy far away. Tear the diary and the copy survives. → the big screen
- Retention
- Months in the drawer. To find footprints later, keep them a long while. → the spare chest
- Log tampering
- Tearing the diary. A thief erasing only their own lines. Copies and stamps (hashes) prevent it.