Gets log entries for a job

GET {{baseUrl}}/jobs/:jobId/logs?jobId=in in ipsum ea&type=aliqua ipsum&levelGreaterThanOrEqualTo=ut pariatur irure laborum Lorem&sortOrder=DESC&limit=328&page=&timestampGreaterThanOrEqualTo=2021-04-26T21:14:45.094Z&timestampLessThanOrEqualTo=2021-04-26T21:14:45.094Z

Returns console log entries for the specified job in JSON format.

Request Params

KeyDatatypeRequiredDescription
jobIdstringThe OCID of the job.
typestringA filter that returns only logs of a specified type.
levelGreaterThanOrEqualTostringA filter that returns only log entries that match a given severity level or greater.
sortOrderstringThe sort order to use when sorting returned resources. Ascending (ASC) or descending (DESC).
limitnumberThe number of items returned in a paginated List call. For information about pagination, see
List Pagination.
pagenullThe value of the opc-next-page response header from the preceding List call.
For information about pagination, see List Pagination.
timestampGreaterThanOrEqualTostringTime stamp specifying the lower time limit for which logs are returned in a query.
Format is defined by RFC3339.
Example: 2020-01-01T12:00:00.000Z
timestampLessThanOrEqualTostringTime stamp specifying the upper time limit for which logs are returned in a query.
Format is defined by RFC3339.
Example: 2020-02-01T12:00:00.000Z

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{"level":"FATAL","message":"dolore consectetur Ut","timestamp":"1956-12-25T18:33:50.023Z","type":"TERRAFORM_CONSOLE"},{"level":"INFO","message":"enim magna cillum laboris","timestamp":"1987-11-20T08:26:58.197Z","type":"TERRAFORM_CONSOLE"}]