An audit log is a system’s own chronological record of security-relevant events: what happened, when, where, from which source, with what outcome and which account, object or process was involved. NIST SP 800-53 (control AU-3) lists exactly those elements. What it can prove is that the system recorded that event. It cannot, on its own, prove that the named person was behind the keyboard, that every relevant event was recorded, or that the record was never altered. Last checked November 25, 2026.
That gap between a record and a conclusion is where investigations often go wrong. A log is evidence produced by a system. Its value depends on what the system captured, how identities were established, whether clocks agreed and how the record was protected after creation.
Source review: October 19, 2026, rechecked November 25, 2026. This article uses NIST SP 800-92, the NIST audit-trail definition and the audit controls in NIST SP 800-53 Revision 5.1 (AU-3, AU-9 and AU-10).
What an audit log record looks like
Here is a sample of three records for the export example used below. It is invented for illustration, with shortened identifiers.
{"id":1,"t":"2026-11-25T14:08:02Z","actor":"acct_41","action":"export.request","object":"customer_profiles","result":"allowed"}
{"id":2,"t":"2026-11-25T14:10:15Z","actor":"job_7","action":"export.complete","object":"customer_profiles","result":"ok"}
{"id":3,"t":"2026-11-25T14:12:40Z","actor":"acct_41","action":"export.download","object":"file_88","result":"ok"}
NIST AU-3 asks that each record establish the type of event, when it occurred, where it occurred, its source, its outcome and the identity of the individuals, subjects or objects involved. The records above carry the type (action), time (t), identity (actor), object and outcome (result). They do not carry the source address or the host, so they cannot say where the request came from. AU-3(1) lets an organization add more fields and warns that extra information can mislead or hurt privacy, so add what a named audit need requires.
What the sample supports and what it does not:
| Claim | Supported by the sample? | What would be needed |
|---|---|---|
| Account acct_41 asked for an export at 14:08:02 UTC | Yes, as the application recorded it | Nothing more, if the pipeline is trusted |
| The export was allowed by policy | Partly: result says allowed | The policy and version checked |
| The person who owns acct_41 did it | No | Sign-in, device and session evidence |
| Every export in this period is listed | No | Proof the logger was running and no source went silent |
| No one edited record 2 afterward | No | Integrity protection, shown below |
Start with the claim you need to test
“Check the audit log” is not a complete investigation plan. First write the claim in plain language.
Suppose a customer profile was exported at 14:08. Different questions need different evidence:
- Did the application receive an export request?
- Which authenticated account sent it?
- Did an authorization check allow it?
- Did the export job run?
- Which records were included?
- Was a file downloaded?
- Who controlled the account and device at that moment?
One application log may answer the first two questions and say nothing reliable about the rest. A useful audit trail is the set of records that can reconstruct the sequence around the operation. NIST defines an audit trail in terms of a chronological record sufficient to examine activity from the start of a security-relevant transaction to its result.
The word “sufficient” matters. A timestamp and username are not automatically sufficient for the question being asked.
What a well-designed log can establish
A trustworthy application audit record can establish what the application observed and decided. For a sensitive action, that often includes:
- the event type;
- an event ID and correlation ID;
- the authenticated account or service identity;
- the target object;
- the result, including denial or failure;
- the time with a known offset or UTC;
- the application, service and environment;
- the policy or permission checked;
- the request source, when collecting it is justified;
- links to the job, transaction or downstream action.
Together, these fields can support a sequence: account A requested an export, policy version B allowed it, job C produced file D, and the download endpoint returned success.
That is much stronger than a line saying “export completed.” It is still a statement by the system, not a direct observation of the human’s intent.
What the log does not prove
Identity beyond the authentication boundary
A log may prove that a valid session for account A performed an action. It does not prove that the account owner was the person using the session. The session could have been shared, stolen or left open.
Stronger authentication and device signals can improve the inference. They do not turn a username into biometric proof of a person’s presence unless that exact evidence was collected and validated. NIST’s non-repudiation control (AU-10) asks for “irrefutable evidence” that an individual performed an action and names digital signatures and message receipts as the mechanisms. An ordinary application log is not that.
Completeness
An audit log shows recorded events. It cannot show events the application failed to emit. A new code path, disabled logger, full storage volume or broken transport can create gaps.
NIST SP 800-53 includes controls for responding to audit logging failures because the logging system itself can fail. Monitoring the pipeline is part of the evidence.
Truth of application input
If a user submits “approved by finance” in a text field, a log can preserve that value. It does not prove that finance approved anything. The record shows what the application received.
The same applies to a client-supplied timestamp or IP address forwarded through an untrusted proxy. Provenance for each field matters.
Causation and intent
Two events close together may be connected, but timing alone does not prove why one caused the other. A failed login before a data export is a lead, not a finished conclusion.
Logs also do not reveal intent. An administrator may change a permission accidentally, maliciously or as part of an approved request. The event needs context from tickets, approvals and interviews.
Immutability
A record is not tamper-proof merely because it is called an audit log. NIST SP 800-53 control AU-9 says to protect audit information and logging tools from unauthorized access, modification and deletion, and to alert when that happens. That protection must be designed and tested.
Integrity is a chain, not a checkbox
A log’s evidential value depends on the path from event to review.
The application generates a record. A transport moves it. A collector accepts it. Storage retains it. An analyst queries or exports it. Weakness at any step can change what survives.
Useful controls include:
- sending records away from the system that generated them;
- limiting who can change logging configuration;
- separating read access from deletion or administration;
- monitoring missing sources and delayed ingestion;
- preserving original records alongside normalized fields;
- recording exports and queries against sensitive logs;
- applying integrity checks or write-once storage where the risk justifies it;
- testing restoration and access during an incident.
Our guide to audit log retention covers what to record, how long to keep it and why logs should not become a second secrets database. Retention and integrity solve different problems: a record can be preserved for years and still be unreliable if anyone could rewrite it.
How to show an exported audit log has not been altered
People often ask this after an export has left the system. The NIST controls give three building blocks. AU-9(2) stores audit records on a physically different system from the one audited, so a compromise of the audited system does not also reach the records. AU-9(1) writes audit trails to hardware-enforced write-once media. AU-9(3) uses cryptographic mechanisms, and its discussion names signed hash functions with asymmetric cryptography, so anyone holding the public key can verify the hash.
A simple hash chain shows the idea. I chained the three sample records above on November 25, 2026: each record’s SHA-256 hash covers the previous hash plus the record text. Then I changed record 2’s result from ok to failed and recomputed. Hashes shortened to 12 characters:
| Record | Original chain | After editing record 2 | Same? |
|---|---|---|---|
| 1 | a45ae79cec73 | a45ae79cec73 | Yes |
| 2 | 0dc8010b414a | 9e7ccde5ac2c | No |
| 3 | 5d060321cfeb | 10c2dcf97f8e | No |
A single edit changes its own hash and every later one, so publishing or signing only the last hash makes the whole export checkable. The limits matter: a chain proves that the sequence you hold matches the hashes you recorded earlier. It does not prove the records were true when written, and someone who can rewrite the chain and the stored final hash together defeats it. The final hash must therefore be signed or held somewhere the log’s administrators cannot write.
Time is part of the evidence
NIST SP 800-53 calls for timestamps generated from system clocks and records that use UTC, a fixed offset or an explicit local offset. It also treats time synchronization as important to security capabilities.
If an application, identity provider and job processor disagree by several minutes, an investigator may place events in the wrong order. Daylight-saving changes and unlabeled local time can make the sequence ambiguous.
Record the timestamp source and precision needed for the decision. A payment workflow that processes many events each second needs finer timing than a nightly batch. When a service receives an external event, it may need both the sender’s event time and the receiver’s ingestion time.
Build an evidence bundle
A serious review rarely depends on one log. It connects independent records that fail in different ways.
For the export example, the bundle might include:
- identity-provider sign-in and risk events;
- application authorization and export records;
- background-job status;
- object-storage access;
- network or device telemetry;
- the approval ticket;
- a hash of the exported file;
- logging-pipeline health events.
Agreement across independent sources makes a conclusion stronger. Disagreement is useful too: it can expose clock drift, missing events or a compromised component.
This resembles data provenance in RAG answers. A citation is useful when it points to the exact document version behind a claim. An audit conclusion is useful when it names the exact records, systems and assumptions behind it.
Write conclusions at the right level
Avoid stretching a log beyond its boundary.
Weak conclusion: “Jordan exported the customer database.”
Better: “The application recorded a successful export request from Jordan’s authenticated account at 14:08 UTC. The job processor recorded completion at 14:10, and object storage recorded a download using the same correlation ID at 14:12. These records do not establish who controlled the session.”
This language is not evasive. It separates observation from inference, which makes the next question visible.
A practical review before relying on a log
Ask:
- What precise claim are we testing?
- Which system generated each field?
- Could a user or client supply that value?
- What relevant events are not logged?
- How are clock offset and synchronization recorded?
- Can administrators modify or delete records?
- Does the pipeline alert when a source goes silent?
- Are original records preserved after parsing?
- Which independent sources corroborate the sequence?
- What assumptions remain in the conclusion?
An audit log is strongest when it narrows uncertainty without pretending to remove it. The goal is not to make the record sound absolute. It is to know exactly what the record can support.





