Is there a way to retrieve Last login date/time or active for users from keycloak user events

I’m looking into the options of retriving the user events which has Last login date/time or active from keycloak admin console and to display it in my UI.

Keycloak doesn’t store this information by default.
You can use a custom event listener, listening to the LOGIN event, like the LastLoginTimeListener here in my example repository: