Pcornel
Security · Logging & Monitoring

Event Logs

Cheat sheet · https://pcornel.dk/topic.php?topic=4854

Back to the Topic

Answer

Event Logs are timestamped records emitted by operating systems, applications, services and security controls to describe observed state, decisions and transitions; security use depends on provider semantics, field context, ordering and collection health rather than event presence alone.

Remember

  • Event ID or message text ≠ universal meaning across every provider, version or product.
  • Event timestamp ≠ guaranteed occurrence order when clocks, buffering and ingestion delays differ.
  • Source configured ≠ required event generated, transported, retained and queryable.
  • Telemetry observation ≠ root cause, intent or complete security state without independent context.

First checks

  • journalctl --list-boots; journalctl -b -p err — Linux journal
  • Get-WinEvent -ListLog * | ? RecordCount -gt 0 | select -First 10 — Windows logs
  • Application log locations — coverage

Verify in this order

system/app event → local log → forwarder

Where it usually breaks

First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.

Logging & Monitoring → Event Logs proof map

BoundaryEstablishDoes not establish
SourceRequired asset/service, audit policy, provider/channel and event classSource inventory alone does not prove event generation
DeliveryLocal queue, transport, collector receipt and timestampsConfigured destination does not prove lossless delivery
PreservationRetention, access, raw record, integrity and provenanceStored record does not prove source truth or complete coverage
InterpretationProvider fields, identity, policy/result and adjacent evidenceEvent presence does not prove intent, causation or root cause
MonitoringQuery/detection plus source and pipeline healthNo alert does not prove no activity or compromise

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4854

Confirmation

Confirm action

Continue?