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.

    1. 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.
    2. On the stack's details page, select Work requests.
    3. Select the work request that you want.
    4. Select Logs.
    5. Select the Actions menu (three dots) and then select Download logs.
  • Use the oci resource-manager work-request get-work-request-log-entries-content command 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.