The Web Console audit records are written to the product's UI component.
The audit records include the following information :
Value | Description |
---|---|
Time stamp | The time stamp that an action was done. Example : 05/02/2017 18:18:30,839 |
Action execution time (ms) | The action execution time in mili seconds. |
User IP Address | The IP address of the user that perform the action (For customers over NAT the actual IP may be the NAT service) |
User ID | The DPOD logged in user ID that performed the action |
Action | The action description. Example : addUser(userName=User1) |
Enabling Audit
To enable audit logging edit the UI service log4j configuration file : /app/ui/MonTier-UI/lib/log4j2.xml
Change the "org.montier" logger to level="debug" as describe below :
<Logger name="org.montier.ui.web.filter.AuditFilter" level="debug" additivity="false"> <AppenderRef ref="AUDIT_FILE"/> </Logger>
Make sure to restart the UI service after altering the log4j configuration file.
The output log file will be created in the UI service log directory : /logs/ui with the name catalina.log
Audit records example :
05/06/2018 18:18:30,839- DEBUG o.m.u.w.f.AuditFilter [ajp-bio-8070-exec-1] 51 192.168.65.190 admin getSystemParameters() 05/06/2018 18:18:34,183- DEBUG o.m.u.w.f.AuditFilter [ajp-bio-8070-exec-1] 8 192.168.65.190 admin getUsers() 05/06/2018 18:18:46,277- DEBUG o.m.u.w.f.AuditFilter [ajp-bio-8070-exec-1] 40 192.168.65.190 admin addUser(userName=User1) 05/06/2018 18:18:46,304- DEBUG o.m.u.w.f.AuditFilter [ajp-bio-8070-exec-1] 8 192.168.65.190 admin getUsers()
In order to export the audit records use file transfer mechanism (scp) to copy the logs off the product's server.