Skip to content

Compliance

LMS audit log: what to record, keep and export

By Yvion SpacePublished Updated 5 min read

What an audit log is

An audit log is a chronological record of security-relevant and administrative actions in a system. In an LMS that means sign-ins, role and permission changes, completion edits, exports and deletions.

It answers questions that nothing else can. Who changed this learner’s completion last quarter? When did that administrator get the role? Who exported the user list? An auditor, a customer’s security team or your own incident review will ask exactly these.

What each entry should contain

A useful entry records who acted, whether a person or a service, what they did, which object it affected, and when, using a reliable timestamp. It should also record where the action came from, such as the network address, and, for a change, the values before and after.

The entry should be written by trusted server code, not by the browser, or anyone could forge one. It should never contain secrets such as keys or tokens, so a good system masks those before writing.

Why append-only matters

Most systems keep some kind of log, but an ordinary log in a normal table can be altered by anyone with enough access. That undermines it exactly when it matters, during an investigation of a privileged user.

An append-only log removes that weakness. New entries can be added, but existing ones cannot be edited or deleted through normal operations. In a database this is enforced with permissions and with triggers that refuse updates and deletes. Some systems also chain entries with a cryptographic hash, which is a separate property from append-only.

Retention and privacy

Retention needs a policy. Contracts and regulations often require logs to be kept for a minimum period, while privacy law says personal data should not be kept longer than necessary. A typical design keeps entries for a set minimum and then removes them through a controlled job, not by ad hoc deletion.

Decide the period with your legal and security teams, and write it down. A log kept for ever is a liability, and a log kept for a week is no use.

Remember that a long retention period also holds personal data about the people named in the entries. Treat the log itself as something you protect, limit who can read it, and cover it in your privacy notice.

Searching, exporting and forwarding

A log nobody can search is a log nobody reads. Administrators need to filter by action, object, person and date, and to export what they see for an auditor. Larger organisations also want the feed sent to a security information and event management tool, so alerts and correlation happen in one place.

Alerts add value on top of the log. The ones worth having are a new administrator, a rise in privilege, a bulk export, a bulk change and sign-ins from outside an allow-list.

A worked example

Suppose a healthcare training provider is asked by an auditor who changed a learner’s completion record last quarter. The administrator searches the log for that learner and finds the entry: which administrator made the change, when, and what the old and new values were.

Because the log is append-only, the auditor can rely on the entry as it stands. The administrator exports the filtered result and hands it over. The whole exchange takes minutes rather than days of asking people what they remember.

Common mistakes

The usual mistake is to buy a platform on the strength of the word “audit” and never look at an entry. Some logs record only sign-ins, and some omit the values before and after a change, which is the part an investigation needs.

Others are letting the log fill with noise nobody reads, never testing the export, and keeping the retention setting at whatever the default was. Look at a real export early, decide who reviews the log and how often, and put an alert on the few events that deserve one.

How Personal Academy handles it

Personal Academy keeps an append-only record of privileged actions and sign-ins. The database refuses updates and deletes of entries, API roles can only read them, and the server writes them, so a signed-in user cannot forge one. API keys and identity secrets are masked before an event is written.

Administrators can filter by action, object or date and export what they see as CSV or JSON. The retention period is configurable and older events are pruned each night. New events can be sent to your SIEM, signed and retried until accepted, and alerts cover new administrators, privilege rises, bulk exports, bulk changes and support access.

Append-only is what is enforced. Personal Academy does not claim to chain entries with a hash.

What to ask a vendor

Ask whether the log is append-only and how that is enforced. Ask what each entry holds, whether secrets are masked, who can read the log, and whether you can export and forward it.

Ask how long entries are kept, who sets the period, and how pruning is done. Ask for a sample export. Seeing real entries is better than reading a description of them.

Questions

What is an LMS audit log?

It is a chronological record of sign-ins and administrative actions in a learning platform, showing who did what, to which object and when. It supports investigations, audits and customer security reviews.

What does append-only mean?

New entries can be added, but existing entries cannot be edited or deleted through normal operations. In a database it is enforced with permissions and triggers that refuse updates and deletes.

How long should audit logs be kept?

Long enough to meet your contracts, regulations and incident-review needs, and no longer than necessary under privacy law. Agree the period with your legal and security teams and write it down.

Can I export the Personal Academy audit log?

Yes. Administrators can filter by action, object or date and export what they see as CSV or JSON, and can send new events to a SIEM, signed and retried until accepted. Retention is configurable.

Start training your team today.