How to Retrieve Tenant Logs for a Specific User

Problem Statement:

How can I obtain tenant logs for a specific user?

Solution:

There are 2 ways to retrieve logs for a specific user.

  1. In the Tenant logs (Monitoring/Logs), use the search string such as:

user_id:google-oauth2|103200078395965111111

  1. 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:

1 Like