How To
Summary
How to recognize when a userid logged in to DASH last time?
Steps
- For this requirement, you need to enable WebSphere Security Auditing. Follow this technote https://www.ibm.com/support/pages/enable-security-auditing-dashboard-application-service-hub-dash for the steps.
You can experience slower performance from the console when you enable security auditing. In that case, make a backup copy of following file and manually enable the features that you need and disable the features that you do not need. Restart the console server after you make your changes to the audit.xml file:
JazzSM_WAS_Profile/config/cells/JazzSMNode01Cell/audit.xml
- You can also configure Maximum number of audit log files and also Audit file size as per your need. It can be configured either through WebSphere Application Server console https://www.ibm.com/docs/en/was/8.5.5?topic=cdaspsa-audit-service-provider-settings-1 or through JazzSM_WAS_Profile/config/cells/JazzSMNode01Cell/audit.xml (Refer following example). Restart JazzSM profile server after you make your changes.
- Incase you want to ensure minimal performance usage by allowing for the capture of web UI logins and logouts with a minimum amount of audit data, then you can set these custom properties https://www.ibm.com/docs/en/was/8.5.5?topic=csaetf-auditable-security-events-1#rsec_sa_event_types__terse__title__1. Example audit.xmls are also given here. You can observe the following record in the audit log.
Seq = 136 | Event Type = SECURITY_FORM_LOGIN | Outcome = SUCCESSFUL | AppUserName = smadmin | RemoteAddr = xx.xx.xx.xx | CreationTime = Thu Jun 22 03:35:17 PDT 2023
"Outcome" shows whether the login is SUCCESS or FAILURE and "CreationTime" is the user logged in time. Search for the latest record for a particular user ID in the audit log to see the last logged in time.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
26 June 2023
UID
ibm17006471