Problem Statement:
How can I obtain tenant logs for a specific user?
Solution:
There are 2 ways to retrieve logs for a specific user.
- In the Tenant logs (Monitoring/Logs), use the search string such as:
user_id:google-oauth2|103200078395965111111
- Export the logs for a particular user by making a Management API call to the endpoint GET
/api/v2/users/{user_id}/logs
and saving them in .json format.
References: