Data Proc API, REST: Job.listLog
Returns a log for specified job.
HTTP request
GET https://dataproc.api.cloud.yandex.net/dataproc/v1/clusters/{clusterId}/jobs/{jobId}:logs
Path parameters
Parameter | Description |
---|---|
clusterId | Required. ID of the cluster that the job is being created for. The maximum string length in characters is 50. |
jobId | ID of the job being created. The maximum string length in characters is 50. |
Query parameters
Parameter | Description |
---|---|
pageSize | The maximum bytes of job log per response to return. If the number of available bytes is larger than pageSize, the service returns a nextPageToken that can be used to get the next page of output in subsequent list requests. Default value: 1048576. The maximum value is 1048576. |
pageToken | Page token. To get the next page of results, set The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"content": "string",
"nextPageToken": "string"
}
Field | Description |
---|---|
content | string Requested part of Data Proc Job log. |
nextPageToken | string This token allows you to get the next page of results for ListLog requests, if the number of results is larger than |