Office 365 (Sharepoint) - Configure audit settings for a site collection
This article provides information on the configuration of SP audit log settings.
Configure audit settings for a site collection
The audit feature of SharePoint Server or SharePoint Online lets you track user actions on a site's content types, lists, libraries, list items, and library files within your site collections. Knowing who has done what with which information is critical for many business requirements, such as regulatory compliance and records management.
Note: Pages, such as .aspx, aren't considered documents so they can't be audited in SharePoint Servers 2019 or 2016.
SharePoint Online and SharePoint Server 2019
SharePoint Servers 2016 and 2013
You can manage the size of the audit log in the Audit Log Trimming section and specify which events to audit in the Documents and Items and Lists, Libraries, and Sites sections. You can also specify the maximum number of days that items will be retained. By default all items are removed at the end of the month.
Note: When multiple users are co-editing a document, auditing events from multiple authors or editors can be difficult to interpret. If this is a concern, consider limiting editing permission to a minimum number of users.
As a site collection administrator, you can retrieve the history of actions taken by a particular user and can also retrieve the history of actions taken during a particular date range. For example, you can determine which users edited a specific document and when they did this.
For concepts such as trimming audit log reports, viewing audit log reports, and configuring events to audit visit Office
for more information