Shruti,
I have followed the example and is working fine.
I have created a user for auditing (wasaudit), I have user for administration (wasadmin).
I have tried login in DMGR with an unknown user (tururu) and then login with wasaudit and wasadmin
DMGR_PROFILE\bin\wsadmin -lang jython -username wasaudit -password wasaudit
wsadmin>AdminTask.binaryAuditLogReader('-interactive')
Binary Audit Log Reader
Binary Audit Log Reader Command
*File name of the Binary Audit log (fileName): C:\WebSphere85\AppServer\profiles\Dmgr01\logs\dmgr\BinaryAudit_GABICell01_GABICellManager01_d
mgr.log
Report mode selection (reportMode): basic
Event(s) filter (eventFilter): SECURITY_AUTHN
Outcome(s) filter (outcomeFilter): DENIED
Sequence filter (sequenceFilter):
Timestamp filter (timeStampFilter):
Key Store Password (keyStorePassword):
*Output HTML file location (outputLocation): C:\WebSphere85\AppServer\profiles\Dmgr01\logs\dmgr\loginError.html.html
Data points to report (dataPoints):
Binary Audit Log Reader
F (Finish)
C (Cancel)
Select [F, C]: [F] F
Attached loginError.html -> trying to login with tururu (unknown user) and wasadmin with bad password
repeate the step to get success logins
wsadmin>AdminTask.binaryAuditLogReader('-interactive')
Binary Audit Log Reader
Binary Audit Log Reader Command
*File name of the Binary Audit log (fileName): C:\WebSphere85\AppServer\profiles\Dmgr01\logs\dmgr\BinaryAudit_GABICell01_GABICellManager01_d
mgr.log
Report mode selection (reportMode): basic
Event(s) filter (eventFilter): SECURITY_AUTHN
Outcome(s) filter (outcomeFilter): SUCCESS
Sequence filter (sequenceFilter):
Timestamp filter (timeStampFilter):
Key Store Password (keyStorePassword):
*Output HTML file location (outputLocation): C:\WebSphere85\AppServer\profiles\Dmgr01\logs\dmgr\loginSucess.html
Data points to report (dataPoints):
Binary Audit Log Reader
F (Finish)
C (Cancel)
Select [F, C]: [F] F
Attached loginSuccess.html -> login with wasaudit and wasadmin
Hope this helps. Tell us if you need more support.
Regards