Annex A Controls Explained
ISO 27001 Control 8.15: Logging
ISO 27001 Control 8.15 asks you to produce, keep, protect and analyse logs. Most businesses collect logs; few keep them long enough or look at them.
Last Updated: 18 November 2026

Alan Parker, ISO 27001 Consultant & Internal Auditor,
Helping UK SMEs hit ISO 27001 in 90 days.
B.Sc (Hons) Information Systems · Certified ISO 27001 Lead Auditor · CISMP · ITIL Expert · 30+ years in IT governance and security.
Read full bio →
ISO 27001 Control 8.15: Logging
https://www.iso.org/standard/27001
Logs that record activities, exceptions, faults and other relevant events shall be produced, stored, protected and analysed.
Key Takeaways
- Control 8.15 requires logs to be produced, stored, protected and analysed.
- Almost everyone logs; in my audits since 2024, around 80% did not routinely review the logs.
- Default retention is often too short: 180 days in most Microsoft 365 licences.
- Protect logs from deletion, including by administrators.
- Logs once let a client trace exactly what a former employee’s leaked credentials had reached, and establish a clear timeline.

Table of Contents
In short: ISO 27001 control 8.15, logging, requires logs of activities, exceptions, faults and security events to be produced, stored, protected and analysed. For a small business that means logging sign-ins, admin actions and data access, keeping logs longer than the default (often 180 days in Microsoft 365), protecting them from deletion, and reviewing them.
People are logging constantly now. It is so easy to switch logging on and leave it running in the background that almost every organisation I audit has logs for sign-ins, admin activity, cloud API calls and firewall traffic. Control 8.15 is rarely failed for lack of logs.
It is failed, or at least found wanting, for three other reasons: logs not kept long enough to investigate anything, key systems quietly not logging at all, and nobody looking. Of the roughly 30 organisations I have audited or implemented ISO 27001 for since 2024, around 80% collected logs that nobody reviewed routinely (see my findings). Almost all of them had automated alerts of some kind, which is good, and which is not the same thing.
This page covers producing, storing and protecting logs, with a story about the time they earned their keep. Control 8.16 covers the monitoring that makes them useful day to day.
What control 8.15 actually asks for
The control requires logs that record activities, exceptions, faults and other relevant events to be produced, stored, protected and analysed. In practice:
- Decide what to log, based on what you would need to know after an incident.
- Keep logs long enough to investigate, which is usually longer than the default.
- Protect them from tampering and deletion, including by administrators.
- Synchronise the clocks so events from different systems line up (see control 8.17).
- Analyse them, routinely and after incidents.
In the 2013 edition this was covered by A.12.4.1 (event logging), A.12.4.2 (protection of log information) and A.12.4.3 (administrator and operator logs). The 2022 edition merges them into one control.
What to log
- Sign-ins, failed sign-ins and MFA events, including from where.
- Administrator and privileged actions, especially changes to security settings.
- Access to sensitive data, including bulk exports.
- Endpoint protection alerts and device compliance changes.
- Your own application’s security events: logins, permission changes, data exports.
- Network and firewall events for anything internet-facing.
The NCSC’s introduction to logging for security purposes is a good guide to priorities if you are starting from nothing.
Retention: longer than you think
Default retention is often short. In Microsoft 365, the default audit log retention is 180 days for most licences, and a year for some workloads on E5. That sounds generous until you learn that intrusions commonly go unnoticed for months. If the attacker got in before your logs begin, you will never know how. Check what you have, and either extend it or forward logs to a central store with a year or more of retention.
Protection
Logs are evidence, and evidence is only useful if it cannot have been altered. Restrict who can delete or change logs, and be especially careful about administrators whose own actions are recorded. Forwarding logs to a separate store that production administrators cannot write to is the usual answer. Control 5.28 covers evidence handling more broadly.
Logging and Monitoring Plan Download
For this control, the Log sources tab records what you log, where it goes, how long it is kept and who can delete it.
What auditors will look for
With logging, I am interested in what you could prove after an incident.
- Log sources. What do you log, and where does it go?
- Retention. How far back can you see sign-ins and admin actions?
- Protection. Who can delete or edit logs?
- Your own product. Does it log security events, or only errors?
- Analysis. When were logs last reviewed by a person, and is that recorded?
Common issues
- Logs collected but never reviewed by anyone.
- Retention left at the licence default, too short for an investigation.
- Applications logging errors but not security events.
- Administrators able to clear the logs that record their own actions.
- Clocks out of step, so events cannot be sequenced.
The self-check
Try answering the first one from the admin console now.
- How far back can you see who signed in to Microsoft 365?
- Does your own product record who exported data, and when?
- Who could delete your logs, and would you know?
- Are your logs in a consistent time zone?
- When did a human last look at them?
When the logs paid for themselves
I was working with a small UK technology company when a developer left on bad terms. He still knew the credentials of an account he had set up for a colleague, who had never changed the default password. After leaving, he used them to get back in and posted the access details on public forums. Attacks started almost immediately.
Two things saved the situation: good out-of-hours alerting, which meant the attack was spotted quickly (see control 8.16), and logging. The team could trace exactly when the former employee had last signed in, which established a clear timeline of events. Just as importantly, after the attack they could see precisely which accounts had been used, what had been accessed, and how deep into which data the compromised account had gone. That allowed them to report to senior leadership with confidence rather than guesswork, and to notify the right people about the right data.
Without those logs they would have been left assuming the worst about everything, which is far more expensive. It is the clearest example I have of why 8.15 is not a box-ticking control. The incident proved the value of their logging and alerting, which worked exactly as it should. It also made them look afresh at every account and start enforcing a password change at first sign-in, which closed the root cause. It is also a case for the leavers process under control 6.5: the credentials should not still have worked.
How control 8.15 links to other clauses and controls
- Control 8.16, Monitoring activities. Using the logs day to day.
- Control 8.17, Clock synchronisation. Consistent timestamps.
- Control 5.28, Collection of evidence. Logs as evidence.
- Control 6.5, Responsibilities after termination or change of employment. Removing access when people leave.
- Control 8.2, Privileged access rights. Whose actions most need recording.
Frequently asked questions
How long should we keep security logs?
Long enough to investigate an incident discovered late. Many organisations aim for at least a year. Microsoft 365’s default is 180 days for most licences, which is often too short.
Do we need a SIEM?
Not necessarily for a small business. Extending retention, forwarding logs to a central store and configuring alerts in the tools you have is often proportionate. A managed service can provide the SIEM if you need one.
Who should be able to delete logs?
As few people as possible, and ideally nobody who administers the systems being logged. Forwarding logs to a separate store is the usual way to achieve that.
Does our own software need to log security events?
Yes, if it holds anything sensitive. At minimum, log sign-ins, permission changes and data exports, with timestamps and the user responsible.
Sources and further reading
Official guidance and standards referred to on this page.
- Introduction to logging for security purposes. NCSC guidance.
- Manage audit log retention policies. Microsoft Purview documentation on default and custom retention.
- ISO/IEC 27002:2022. Implementation guidance for the controls.
- ISO/IEC 27001:2022, Information security management systems. The standard itself, published by ISO.
Internal Audit Service
Get an independent view of your ISO 27001 ISMS before you go into an audit.
“Alan from Iseo Blue truly came to our rescue. His support ahead of our internal audit was outstanding, and he helped us get our ISMS 100% ready for the Phase 2 audit.“
– Quartile.
✓ Gain confidence
✓ Audit plan
✓ Independent view
✓ An ISO 27001 requirement
✓ Audit findings report
✓ Recommendations
✓ Review meeting
✓ Fixed price
