Auditing sample files are distributed in the ./tomcat/shared/classes/alfresco/extension/audit directory. You can enable them in order to explore auditing.
There are two sample files in ./tomcat/shared/classes/alfresco/extension/audit:
- alfresco-audit-example-extractors.xml.sample
- alfresco-audit-example-login.xml.sample
In order to use a sample file, remove the .sample extension. It is also assumed you’ve enabled auditing. You will also need to restart the server so the examples are loaded.
Once the sample files are enabled you can check that the new example audit applications are enabled via the ReST API, see List Audit Applications for more information.
You should see that the AuditExampleExtractors and AuditExample Login applications have been enabled.