Compliance Problems

Can Audit Logs Be Enabled for a Single SharePoint Subsite?

WPS Content ManagerWPS Content Manager Oct 12, 2026 869 views

Question details

The user wants to know if it is possible to enable audit logging exclusively for one specific SharePoint subsite rather than the entire environment.

How to Track Audit Logs for a Single SharePoint Subsite
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Monitoring user activity and compliance for a specific SharePoint subsite without capturing or navigating through global audit data for the entire site collection.
Observed behavior
Microsoft Purview auditing does not allow enabling logs for selected subsites exclusively; instead, users must utilize global audit logs and filter the data by the specific site URL.
Before you start

Ensure you have the necessary administrative permissions in the Microsoft Purview compliance portal to access, search, and export global audit logs.

Solution 1Recommended

Search and Filter Microsoft Purview Audit Logs by Site URL

Since you cannot enable auditing for just one subsite, the standard approach is to use Microsoft Purview to search all logs and filter the results using the specific subsite URL.

Microsoft Purview records audit data globally for your SharePoint environment. To isolate activities for a single subsite, you must perform a global audit log search and restrict the query to that subsite's specific web address.

1
Access Microsoft Purview

Log in to the Microsoft Purview compliance portal using your global admin or compliance admin credentials.

2
Open the Audit Solution

Navigate to the 'Audit' tool from the left-hand navigation pane.

3
Configure Search Parameters

Set your desired date range and activities. In the 'File, folder, or site' field, enter the exact URL of the specific SharePoint subsite you want to audit.

4
Run and Export

Click 'Search' to run the audit log query. Once the results load, you can export them to a CSV file to view activity strictly related to that subsite.

Search and Filter Microsoft Purview Audit Logs by Site URL
Legacy Feature Deprecated: The older SharePoint-specific site audit log feature is no longer supported by Microsoft. All auditing must now be handled centrally through Microsoft Purview.
Free Microsoft Office alternative

Looking for a Lightweight Office Suite? Try WPS Office

While enterprise compliance and SharePoint management require Microsoft tools, everyday document creation and editing doesn't have to be heavy or expensive. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office that easily handles Word, Excel, and PowerPoint files.

  1. 1. Download WPS Office: Visit the official WPS website and click 'Download WPS Office Free' to get the installer.
  2. 2. Install the Software: Run the downloaded installer and follow the quick on-screen instructions to set up the suite on your device.
  3. 3. Open Your Documents: Launch WPS Office and seamlessly open your existing Microsoft Office files or exported CSV audit logs without losing any formatting.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Analyze exported CSV audit logs effortlessly with WPS SpreadsheetLightweight installation that runs smoothly on Windows, Mac, and LinuxFamiliar, tabbed user interface for seamless migration and daily productivity
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I enable auditing for just one SharePoint subsite?

Microsoft Purview is designed to handle auditing centrally at the tenant level to ensure comprehensive security and compliance. Granular enablement at the subsite level is not supported; instead, filtering search results by URL is the intended method.

Is the old SharePoint site audit log feature still available?

No, the legacy SharePoint site audit log feature has been deprecated and is no longer supported. All auditing tasks must now be performed through the Microsoft Purview compliance portal.

How long does Microsoft Purview retain SharePoint audit logs?

By default, Audit (Standard) retains logs for 180 days. Organizations with Audit (Premium) licenses can retain logs for up to one year, with options to extend retention policies up to 10 years depending on their specific subscription.

Can I export the filtered audit log results for further analysis?

Yes, once you have filtered the Microsoft Purview audit logs by your SharePoint subsite URL, you can export the results to a CSV file and analyze them in spreadsheet software like WPS Spreadsheet or Excel.