Insights · Small businesses on Microsoft 365 or Google Workspace

What should a small business log, and for how long?

A small business should log sign-ins, admin and permission changes, mailbox forwarding rules, external file sharing and security alerts, and keep them for at least 12 months. Default retention is shorter: seven days for Entra ID Free sign-ins, 180 days in Microsoft Purview Audit (Standard) and six months in Google Workspace.

Why does a small business need logs at all?

Logs are the only record of who signed in, from where, and what they changed, so a small business without them cannot answer the first questions of any incident investigation. The joint guide Best Practices for Event Logging and Threat Detection, published in August 2024 by the Australian Signals Directorate's Australian Cyber Security Centre with CISA, the FBI and the NSA, says event logs should be retained "long enough to support cybersecurity incident investigations." The same guide groups good logging into four practices: an approved event logging policy, centralized log collection and correlation, secure storage with log integrity, and a detection strategy for relevant threats. Each practice applies to a ten-person firm as much as to a large enterprise.

The practical test is simple. After a phishing click or a suspicious payment request, someone will ask whether the attacker signed in to the mailbox, whether a forwarding rule was created, and which files were opened or shared. A business that kept the right logs for long enough can answer those questions with evidence. A business that did not has to assume the worst, which usually means a wider and more expensive response, as described in our post on what a practice should do in the first 24 hours after a phishing click.

Which events should a small business log first?

A small business should log the events that show account takeover and quiet changes first, before anything else. For cloud environments, the ASD and CISA logging guide prioritizes logs from critical systems and data most likely to be targeted, internet-facing services, tenant accounts that access and administer cloud services, administrative configuration changes, and the creation, modification and deletion of security principals, including changes to permissions. Translated into the Microsoft 365 or Google Workspace tenant that most small businesses run on, those priorities become a short list of event types that PikeShield checks first when it reviews a client's logging setup.

  • Sign-ins, both successful and failed, with location, device and whether multi-factor authentication was used.
  • Admin role assignments and new or deleted user accounts.
  • Mailbox forwarding rules, inbox rules and delegated mailbox access.
  • External sharing of files and folders from OneDrive, SharePoint or Google Drive.
  • Changes to security settings such as MFA policies and app consents.
  • Firewall, VPN and endpoint protection alerts, where those devices exist.

How long do Microsoft 365 and Google Workspace keep logs by default?

Microsoft 365 and Google Workspace keep logs for a fixed default period, and those periods are shorter than most owners assume. The figures below were checked on 29 October 2026 in each vendor's documentation. Microsoft Purview's audit retention page (updated June 2026) and Microsoft Entra's data retention reference (updated January 2026) cover Microsoft 365, and Google's Workspace Admin page on data retention and lag times (updated 26 October 2026) covers Google Workspace. Each figure depends on the license the business pays for, so the first step is to confirm which tier every user is on.

  • Microsoft Entra ID sign-in and audit logs: seven days on the Free tier, 30 days on P1 and P2.
  • Microsoft Purview Audit (Standard): 180 days for records generated on or after 17 October 2023.
  • Microsoft Purview Audit (Premium): one year for Exchange, SharePoint, OneDrive and Entra records, for users with E5 or equivalent licenses.
  • Google Workspace admin, user sign-in, Drive and Gmail log events: six months.

Two details from the same pages matter for planning. Microsoft states that log retention changes are not retroactive, so a business that upgrades from Entra ID Free after an incident can only see the last seven days of sign-ins. Google states that administrators cannot delete log event data or change how long it is available. In both platforms, keeping logs longer than the default means copying them to separate storage before they expire, not changing a setting after the fact.

How long should a small business keep its logs?

PikeShield's working baseline for a small business is to keep identity, admin and email logs for at least 12 months, and longer where a regulator, contract or insurer asks for it. No single U.S. rule sets one log retention period for every private small business. The closest public benchmark is OMB memorandum M-21-31 of August 2021, which requires federal civilian agencies to keep logs for 12 months in active storage and 18 months in cold storage. The ASD and CISA guide does not fix a number either; it says retention should follow a risk assessment of each system and notes that longer retention improves the ability to work out the scope of an incident.

The 12-month baseline follows from how incidents are found. Many compromises surface weeks or months after the first sign-in, when a client reports a strange invoice or a bank flags a payment. A six-month default in Google Workspace, or a seven-day default in Entra ID Free, can expire before anyone thinks to look. Keeping a year of the event types listed above costs little in storage for a business with a few dozen users, and it turns a guess about the start of an incident into a dated answer.

Where should the logs be stored so they can be trusted?

Logs should be stored where the account that was compromised cannot reach them. The ASD and CISA logging guide warns that threat actors target local event logs for deletion or modification to avoid detection, and recommends cryptographic verification of log integrity in transit and at rest, access to delete or modify logs limited to people with a justified need, and storage on a separate or segmented network. For a small business, the practical version is to export cloud logs to a storage account or a log platform that everyday admin accounts cannot alter, and to protect that destination with its own credentials and multi-factor authentication.

Stored logs only help if someone reads them before they expire. The fourth practice in the guide, a detection strategy for relevant threats, means deciding in advance which events trigger a review, such as a new forwarding rule to an outside address, an admin role granted outside business hours, or a sign-in from a country where nobody works. A small business can start with a weekly review of those few alerts and add a SIEM later, as explained on our SIEM setup and threat detection page, when the number of users and systems justifies it.

Want to know where your own environment stands? The first step is a free, read-only security assessment.

Get a free security assessment
FAQ
If we upgrade to Entra ID P1 today, can we see last month's sign-ins?
No. Microsoft states that log retention changes are not retroactive, so after upgrading from Entra ID Free only the data still inside the seven-day free retention period is available.
Can a Google Workspace admin keep logs longer than six months?
Not by changing a setting. Google states that administrators cannot change how long log event data is available, so longer retention means copying the logs to separate storage before they expire.
Is there a legal log retention period for small businesses?
No single U.S. rule sets one period for every private small business. Federal agencies follow OMB M-21-31, which requires 12 months of active and 18 months of cold storage; sector rules, contracts and insurers can add their own requirements.