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=×tampGreaterThanOrEqualTo=2021-04-26T21:14:45.094Z×tampLessThanOrEqualTo=2021-04-26T21:14:45.094Z
Returns console log entries for the specified job in JSON format.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
jobId | string | The OCID of the job. | |
type | string | A filter that returns only logs of a specified type. | |
levelGreaterThanOrEqualTo | string | A filter that returns only log entries that match a given severity level or greater. | |
sortOrder | string | The sort order to use when sorting returned resources. Ascending (ASC ) or descending (DESC ). | |
limit | number | The number of items returned in a paginated List call. For information about pagination, see | |
List Pagination. | |||
page | null | The value of the opc-next-page response header from the preceding List call. | |
For information about pagination, see List Pagination. | |||
timestampGreaterThanOrEqualTo | string | Time 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 | |||
timestampLessThanOrEqualTo | string | Time 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
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
Date | string | (Required) Current Date | |
Authorization | string | (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"}]