Logs provide a record of all events and errors that take place during the lifecycle of your IAM resources (IAM users, applications, groups, API keys, and policies). Logs represent a source of visibility if you want to know when a problem occurred, or which events correlate with it.
List logs
List logs available for given Organization. You must define the organization_id in the query path of your request.
query Parameters
order_byCriteria for sorting results.
organization_idFilter by Organization ID.
page_sizeNumber of results per page. Value must be between 1 and 100.
pagePage number. Value must be greater to 1.
created_afterDefined whether or not to filter out logs created after this timestamp. (RFC 3339 format)
created_beforeDefined whether or not to filter out logs created before this timestamp. (RFC 3339 format)
actionDefined whether or not to filter out by a specific action.
resource_typeDefined whether or not to filter out by a specific type of resource.
searchDefined whether or not to filter out log by bearer ID or resource ID.
List logs › Responses
List of logs.
total_countTotal count of logs.
Get a log
Retrieve information about a log, specified by the log_id parameter. The log's full details, including id, ip, user_agent, action, bearer_id, resource_type and resource_id are returned in the response.
path Parameters
log_idID of the log.
Get a log › Responses
idLog ID. (UUID format)
created_atCreation date of the log. (RFC 3339 format)
ipIP address of the HTTP request linked to the log. (IP address)
user_agentUser-Agent of the HTTP request linked to the log.
actionAction linked to the log.
bearer_idID of the principal at the origin of the log. (UUID format)
organization_idID of Organization linked to the log. (UUID format)
resource_typeType of the resource linked to the log.
resource_idID of the resource linked to the log.