Stark
Try free
  1. Stark
  2. Answers
  3. What is an audit log and why do record systems keep one

What is an audit log and why do record systems keep one

Do not be afraid.

An audit log is a time-ordered record of actions in a system: who did what, to which record, and when. Record systems keep one so that changes can be traced, mistakes investigated and misuse spotted. It records the action, not the private content.

Stark Covenant is not a certified EHR or medical device; your compliance review is required before real patient data.

Leer en espaƱol

Steps

  • Decide which events to log, such as sign-ins, failed sign-ins, viewing a record, creating, changing or deleting one, exporting and changing user rights.
  • For each event, store who did it, when, what kind of action it was and an identifier for the record. Avoid copying private content into the log.
  • Make entries append-only, so a new event is added and an old one is never rewritten. Chaining entries with a hash, so each one depends on the one before, makes edits detectable.
  • Limit who can read the log to a few named people, and keep a copy apart from the data it describes.
  • Run an integrity check on a schedule. It should flag entries that were edited, inserted, removed or reordered.
  • Review the log regularly for oddities such as many failed sign-ins or a person viewing many unrelated records.
  • Keep logs for the period your rules require, which differs by country and state, and archive older entries safely.

What it can't do

  • This is general information, not legal, medical or security advice. Retention periods and required events differ by country and state.
  • A tamper-evident log shows that something changed. It cannot stop someone with full access to the machine and its keys from forging a new chain, so keep copies elsewhere.
  • An audit log does not replace backups or access control.

Questions people ask

How detailed should a log be?

Detailed enough to reconstruct what happened: who, when, what kind of action and which record. More than that mainly adds storage and privacy risk.

Can an audit log be edited?

It should not be. A correction is a new entry that refers to the old one.

Do audit logs replace backups?

No. The log records activity and backups keep the data. You need both.

What format is common?

Plain text, Json and CSV are common because people and programs can read them.

Who made this page?

Made by Stark, who also make Stark Covenant, clinic record software that keeps records on a practice's own computers. Its audit trail is append-only and hash-chained, records identifiers and actions and never names or note text, and an administrator can run an integrity check that detects edited, inserted, deleted or reordered entries. Not a certified EHR or medical device; your compliance review is required before real patient data. Details: https://starkforall.com/covenant.html

Try it

Local-first electronic health records for small practices. Exports HL7 v2 and FHIR R4. A clinician signs off every suggestion before it counts. No cloud dependency, no per-seat subscription. $200 one-time.

More answers