Viewing Job Log and Error Messages
View the log and error messages associated with a job in OS Management Hub. You can use these messages to troubleshoot issues with jobs.
See also Download Errors in Job Error Log.
Use the oci os-management-hub work-request get command and required parameters to get information for a specific job.
oci os-management-hub work-request get --work-request-id ocid [OPTIONS]
Use the oci os-management-hub work-request list-logs command and required parameters to view logs for a specific job.
oci os-management-hub work-request list-logs --work-request-id ocid [OPTIONS]
Use the oci os-management-hub work-request list-errors command and required parameters to view errors for a specific job.
oci os-management-hub work-request list-errors --work-request-id ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the GetWorkRequest operation to get information about a specific job.
Run the ListWorkRequestsErrors operation to list the errors for a specific job.
Run the ListWorkRequestsErrors operation to list the logs for a specific job.