Getting Logs for a Work Request
List logs for a Resource Manager work request.
In the Console, you can list logs for a work request related to a stack or a private endpoint. Getting Logs for a Work Request Related to a Stack
Note
Detailed execution log entries are available for supported operations, including drift detection and creating a stack from an existing compartment.
- On the Stacks list page, select the stack that you want to work with. If you need help finding the list page or the stack, see Listing Stacks.
- On the stack's details page, select Work requests.
- Select the work request that you want.
- Select Logs.
You can search the displayed log entries, hide timestamps, and download the log.
Listing Logs for a Work Request Related to a Private Endpoint
-
Use the oci resource-manager work-request list-work-request-logs command and required parameters to list logs for a work request:
oci resource-manager work-request list-work-request-logs --work-request-id <work_request_OCID> -
Use the
oci resource-manager work-request get-work-request-log-entriescommand and required parameters to get structured log entries for a work request.oci resource-manager work-request get-work-request-log-entries --work-request-id <work_request_OCID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
-
-
Run the ListWorkRequestLogs operation to list logs for a work request.
-
Use the GetWorkRequestLogEntries operation to get more structured log entries for a work request. Use this API for in-depth troubleshooting.
-