Enable auditing in Alfresco repo and enable the out-of-the-box preconfigured “Alfresco Access” Audit Application.
This section has a lot of examples where the “Alfresco Access” audit application has been enabled. So in order to get a better feeling for how the Audit ReST API works, it make sense to enable this audit application before moving on with the examples in this section.
See How to enable auditing for more information on how to enable this audit application.