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.

    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.

    You can search the displayed log entries, hide timestamps, and download the log.

    Listing Logs for a Work Request Related to a Private Endpoint

    1. On the Private endpoints list page, select the private endpoint that you want to work with. If you need help finding the list page or the private endpoint, see Listing Private Endpoints.
    2. On the private endpoint's details page, select Work requests.
    3. Select the work request that you want.
      The work request's details page opens.
    4. Select Log messages.
    • 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-entries command 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.