As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.
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.