Share via


SharePoint 2013: Enable Auditing for a specific document library and list

Environment:

  • SharePoint 2013 Enterprise

Requirement:

  • Enable audit for a document library to get the number of times the document is opened
  • Enable audit for a list to get the total number of times the item is edited.

Solution/Steps:

  1. Go to Document library > Settings > Library Settings
  2. Click Information management policy settings

https://lh3.googleusercontent.com/MeISP2esRB4GfZLMT8qL63e_m-LRD6-NHEtfeqCHh23L0PtcDM4fPTESnB-zV7RFTHt2uWK2oJpYzGC-2WF2EFKDQaV6kXZKUa0l5gJf0RyrMJXkJLWjQ9RoJOi1u7u8XNianhHG0J0aKwbU

  1. Click Document under Content Type
  2. Provide the necessary details and select “Opening or downloading documents, viewing items in lists, or viewing item properties” under Enable Auditing

https://lh5.googleusercontent.com/F0pTm9pUPdnXxIVA2AXu3jSc7GG12fyibm6ecOD7TYW1APxx26dWuygtAtMrsFB5ZStYGDOXfnGuV5wHFINF-3LnZTJd9atrm37uq33HTfMjLvKHpz6MacZCR08jv8YPtCs7kH5JVdU88CD3

  1. Click OK

  2. Navigate to the list where you want to set the policy

  3. Click List Settings > Select Information management policy settings

    https://lh3.googleusercontent.com/z67hQ7H9kYoda3PfFE1_YmjTpv343zOlKjoQAa452-7wdFrAfbhNDvCJ-_7H5yU47fVnY5mF7XY-SXL5yhHJyxaP4cSwN14iblx4npz5pI7B1L4OJhnXoFHk-0hoH8a3i8GDPTkN19kJDQSH

  1. Select the List from the policy settings
  2. Provide the required details and select Editing items under Enable Auditing

https://lh3.googleusercontent.com/CfYKRktK8pK1UjtyBbcWTrgWEo6TbrLSkqJ6Dw7iq2x29utX7VU5ET63hw0LIPShPQt5ag825xaObZK_4schZM3tKPqxvimE5jNzmYaRuNSKgv2EzS_kQK5aSPFZP41b-SgMassz2tJ7HcI-

https://lh3.googleusercontent.com/wNMsq7Lm6m8oL_xUiawRsSYz3uBARPJj0ybOShvvZb7aRJDINkxT4NshOnWoA1QL0PJAvm92enIdBIl3CH8jpLIiCphNssKlAP1FRfq09h2_4BJjZAlCfJrdBWDZ-QoZdSTLoEoq2AH9jzEl

  1. To view the report, navigate to the top level site and Site Settings
  2. Select Audit log reports under Site Collection Administration

https://lh4.googleusercontent.com/hy7a8GYrw6MPHvdATIezfLyVTpUMflgimmUBoqTPozAc3HoDrxvb3V3K8I49vpPEDhpDCFRF02kHh8uCWMUOOJDeK4YiVN7yvjUpvGFuVHLq0N9IqSVa1rM1T-Km3IwB2rHWNdYNLrw7jKHl

  1. Click Run a custom report under Custom Reports section

https://lh6.googleusercontent.com/yWmQtGyVzCzieYYJIdMNGUw1bi9fJRejlilBSazaGSReZCGL3zwseLxOsatK3xpnhy-g_FvhuLNdsMGGB640zxan9O6H7uOPWXrrTukXXeHfvTVKOZcxIc4k6ziuLqvPw8UVtIFglKqF0m4t

  1. Select the required events to view the report for

https://lh4.googleusercontent.com/SYY_QjgDJ22eHwzfUChhKqyTeEYp06-Vm-TjuDYux-CapW2CBq1aVur1lh_NHzsZ0tdXLIbXYMoNxMwWpDDqVlmljFmqPIHXBTb7T4oKYw5whAXrga5lv59foGpNe73zrxrORabzb2PZ_tw1

  1. Click OK

https://lh4.googleusercontent.com/OTyVB8_iQZlHSJtWOmbVI5IyvRajK8eCWHKbifLKi3vkMWuFPcpuJbhYLKwPJpH6uV7-3s-dUBb5qq0dLHL1OB2V5EAZnxnh-e9PIu7MtVOCe2rDP9WlPlQMEKpYpL3seNx4lH_LFrTbxeRh

  1. Click “Click here to view the report”

https://lh5.googleusercontent.com/XgvsrV3ZTL1OGEMVkcLcBuz03pTkakKfpOur8ZOvFdJdd9aIMDC410emyq2aK0p1i68RRG0p9YeeAX3JsDRbd4uzL8OUaVm1QWlMK_0E6q3xs9iNWiC5pO2yp3afHhgnbelcrUp9_jbOHBLz

Note: Site collection administrators page views or edit are not tracked.