I need to audit only the user logins, but i got more information than i need (see pic bellow).
Auditing information that i dont need can decrease performance of the server. How to stop alfresco from auditing the information that i dont need?
Here are my global properties that i added
audit.enabled=true
audit.alfresco-access.enabled=true
audit.alfresco-access.sub-actions.enabled=false
audit.filter.alfresco-access.default.enabled=true
audit.filter.alfresco-access.default.user=~System;~null;.*
Solved! Go to Solution.
1) Login audit via alfresco-access is unreliable / incomplete - it only supports local authentication with user name + password, not scenarios with SSO. If you only use local authentication, that may be fine with you. Otherwise you may need enhancements - I created a module some years ago specifically to track which users actually used the system via login (nothing else)
2) You would have to set up a filter for the "action" value to suppress any of the non-login events. E.g.
audit.filter.alfresco-access.transaction.action=~.*;null
might do the trick (never tested), as it should filter anything with a real value but allow anything without a value, e.g. the login event, which does not have an "action" associated with it.
1) Login audit via alfresco-access is unreliable / incomplete - it only supports local authentication with user name + password, not scenarios with SSO. If you only use local authentication, that may be fine with you. Otherwise you may need enhancements - I created a module some years ago specifically to track which users actually used the system via login (nothing else)
2) You would have to set up a filter for the "action" value to suppress any of the non-login events. E.g.
audit.filter.alfresco-access.transaction.action=~.*;null
might do the trick (never tested), as it should filter anything with a real value but allow anything without a value, e.g. the login event, which does not have an "action" associated with it.
Yes, the trick worked thanks
Hi @john2994
Great that it worked and thanks for accepting the solution - really helpful to other users with this issue.
Cheers,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.