Getting Log Content for a Work Request
Download console logs (raw .txt job logs content) for a work request in Resource Manager.
Note
Raw log content is available for supported operations, including drift detection and creating a stack from an existing compartment. The response includes a maximum of 100,000 log entries.
- 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.
- Select the and then select Download logs.
Use the
oci resource-manager work-request get-work-request-log-entries-contentcommand and required parameters to get raw log content for a work request.oci resource-manager work-request get-work-request-log-entries-content --work-request-id <work_request_OCID>For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Use the GetWorkRequestLogEntriesContent operation to get raw log content for a work request.