Download cluster logs

post

/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/downloadLogs

Downloads logs within the specified cluster and time range. The logs can be filtered by severity (`logLevel`), type (`logContentTypeContains`), and other parameters such as execution context and thread identifiers.

Request

Path Parameters
Header Parameters
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
  • Minimum Length: 1
    Maximum Length: 64
    A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of running that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and removed from the system, then a retry of the original creation request might be rejected.
Body ()
Request payload containing the parameters for filtering cluster logs.
Root Schema : DownloadClusterLogsDetails
Type: object
Request payload for downloading logs in a cluster.
Show Source
  • UI-generated identifier to correlate the async job.
  • Filters logs based on the event type. Supported only when `logContentTypeContains` is `events`.
    Example: CREATING
  • The execution context identifier associated with the log. Supported only when `logContentTypeContains` is `executor` or `driver`.
    Example: aaa-bbb-ccc-ddd
  • The string represent the type of compute logs Common values include `events`, `driver`, `executor`. Supported only when `logContentTypeContains` is `executor` or `driver`.
    Example: events
  • The severity level of the log messages to filter. Common values include `INFO`, `WARN`, `ERROR`, `DEBUG`, etc. Supported only when `logContentTypeContains` is `executor` or `driver`.
    Example: ERROR
  • Filters logs based on the output stream type. - This includes standard output (`stdout`) for regular program output - and standard error (`stderr`) for error messages and diagnostics. Only supported when logContentTypeContains=executor/driver.
    Example: stderr
  • The unique request identifier used for tracking the API call. Supported only when `logContentTypeContains` is `executor` or `driver`.
    Example: bce8d78b-6f12-4a99-95d2-3f44440c54a9
  • The string represent the specific of compute nodes Common values include `spark-driver`, `spark-executor-1`.
    Example: executor-1
  • The thread identifier that generated the log. Supported only when `logContentTypeContains` is `executor` or `driver`.
    Example: oracle.dataflow.commons.server.uds.UdsRequestHandlerTask
  • Start filter log's date and time, in RFC 3339 format.
    Example: 2025-03-16T00:00:00Z
  • End filter log's date and time, in RFC 3339 format.
    Example: 2025-03-16T23:59:59Z
Back to Top

Response

Supported Media Types

202 Response

Request accepted. Log download is initiated.
Headers
  • The key of the asynchronous operations associated with an AI Data Platform instance. Use GetAsyncOperation with this key to track the status of the request.
  • This string represents the PAR URL for the compute log file. The `datalake-cluster-log-par-url` should be used only after the `aidp-async-operation-key` status reaches the SUCCEEDED state. If accessed before the operation completes, the file may be incomplete.
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.

400 Response

Bad Request (invalid query parameters, malformed headers, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

401 Response

Unauthorized (missing or expired credentials, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found. The requested resource was not found.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

409 Response

Conflict. Request conflicts with the current state of the resource.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

412 Response

Precondition Failed (One or more conditions in request failed).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests. Too many requests sent to the server in a short period.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

Unknown Error. Error is not recognized by the system.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top