Auditing and custom content models

cancel
Showing results for 
Search instead for 
Did you mean: 
os_cerna
Active Member

Auditing and custom content models

Hello everyone,

I am using the auditing feature to see which documents are read over a certain period of time, i have tried this query on curl https://alfresco.pucp.edu.pe/alfresco/service/api/audit/query/alfresco-access/alfresco-access/transa... and i also installed the audit add-on for share, so far it works except when i read a custom model document which it doesnt record, is there a way to make it work?

Thanks 

3 Replies
ratik_singhal
Established Member

Re: Auditing and custom content models

Have you added these properties in alfresco-globla.properties?

audit.enabled=true
audit.filter.alfresco-access.transaction.action=~READ;.*

audit.filter.alfresco-access.transaction.type=cm:folder;cm:content;

os_cerna
Active Member

Re: Auditing and custom content models

Yes, i have, for some reason only the documents that are from a custom content model dont appear, normal cm:content files are recorder in the log and the audit add-on

ratik_singhal
Established Member

Re: Auditing and custom content models

Add custom properties that you want to capture. 

audit.filter.alfresco-access.transaction.type=cm:folder;cm:content;xyz:abcsite;