Extend Alfresco Audit logs

cancel
Showing results for 
Search instead for 
Did you mean: 
gregorio2501
Partner

Extend Alfresco Audit logs

Hi,

Is posible extend Audit Logs for getting client information, for example ip addres, web browser, etc (information send in http headers).

Maybe is posible extend AuditMethodInterceptor, if yes, how to?

Thanks in advance.

1 Reply
jego
Partner

Re: Extend Alfresco Audit logs

This will be a little bit more complicated as you need to create your own Auditapp. This information can be read via the incoming http requests and needs to be passed into the audit layer via a DataExtractor implementation.

Please refer to following documentation:

https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/audit-log/

Here is a sample extension:

https://github.com/Alfresco/alfresco-sdk-samples/tree/alfresco-51/all-in-one/custom-audit-app-repo

I hope this helps.