Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello,
Does anyone know of a way to view a history of all logins to the system by username?
Thank you,
Mike
Hi Mike,
If your log levels are set to 'INFO', authentication attempts will be logged to the Security Log. From there, you can parse entries for the information that interests you.
The log entry is formatted as follows:
Authentication attempt #1 SUCCEEDED for using
Authentication attempt #1 FAILED for : Invalid Password
Once you've parse the content, it would be trivial to log this data to a
Stream
and perform various calculations (e.g. # of logins by user, # of total logins, etc.).Regards,
Adam
Thanks Adam!