SharePoint 2013 Audit Log Trimming – remember to edit your timer jobs to fit your log retention

SharePoint 2013 offers the option of audit logs:

Configure audit settings for a site collection

One of the settings available is to trim the audit logs and optionally save the trimmed data into a library. As the above article states the default is every 30 days, but you can change the log retention to some other value.

If you do want to change your log retention to something other than the default (say 7 days) then you might find that your logs don’t appear to be getting trimmed. Make sure that you also set the schedule of the corresponding timer job to match your retention schedule.

Each web application will have its own Audit Log Trimming job. The default schedule for the timer job is monthly, so if you want to have a retention of 7 days then set the schedule of the timer jobs to weekly and test the results.

YMMV

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s