This article explains how to generate a report containing users who were deleted, suspended, and/or deactivated in the last three months, which is the maximum amount of time that the System Log will hold information in Okta.
- System Log
- Reports
- Please navigate to the Okta Admin Dashboard and go to Reports > System Logs.
- Please set the time frame (and timezone) to search for. The maximum one can go is 3 months from the current date.
- In the search field, use one of the following System Log queries:
eventType eq "user.lifecycle.delete.completed"- For deleted userseventType eq "user.lifecycle.deactivate"- For deactivated userseventType eq "user.lifecycle.suspend"- For suspended users- To generate a report containing all suspended, deactivated, and deleted users in Okta, it is possible to chain all 3 queries with an "or" between them.
- Export the logs by clicking the Downloading CSV button, and manipulate the file to suit the organization's operational needs.
