Skip to content
About
Main content

Audit trails versus access logs

Why do audit trails and usage logs have opposite requirements?

These look like the same artifact and have opposite requirements.

Telemetry (access log for ranking)
Purposeranking, trendsevidence
Can be sampled or rolled up?Yes; a few percent error does not matterNo; must be complete
Tamper-evidencenot neededrequired, against someone who wants to hide what they did (non-repudiation is security's subject)
Retentionweeks to monthsyears, often under legal hold (a legal order to keep records)

Mixing them means paying evidence-grade storage and integrity costs for ranking-grade data, which is a common and large bill.

One hard limit: audit granularity cannot go below the query. Logging each row touched by a scan of one billion rows would cost more than the scan. So "who saw this record?" is always a reconstruction from query conditions applied to data . That is inference, not evidence, and any process that depends on it should say so.

And no audit log can honestly answer a per-row question.