Obtains logs generated for a synchronization task.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Id | long | No | The ID of the synchronization task. | 10000 |
| InstanceId | long | No | The instance ID. | 6153616438 |
| FailoverId | long | No | The failover ID. | 10 |
DIJobIddeprecated | long | No | This parameter is deprecated. Use the Id parameter instead. | 10000 |
| PageNumber | integer | No | The page number of the pagination query. The value is a positive integer greater than or equal to 1. | 1 |
| NodeType | string | No | The type of the node. This parameter is applicable only to the tasks that are run on serverless resource groups. Valid values:
| MASTER |
Response parameters
Examples
Sample success responses
JSONformat
{
"Log": ">>>>>>>> stdout:n++++++++++++++++++executing sql: create database if not exists jindo_test location 'oss://pangbei-hdfs/tmp/hive' n++n",
"RequestId": "1AFAE64E-D1BE-432B-A9****"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-02-17 | The request parameters of the API has changed | View Change Details |
| 2025-01-06 | The request parameters of the API has changed | View Change Details |
