GetTaskInstanceLog
Retrieves the runtime log of a specific run for a specified task instance.
Operation description
This operation requires DataWorks Basic Edition or higher.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The ID of the task instance. You can obtain the ID from the |
1234 |
| RunNumber |
integer |
No |
The sequence number of the run to query. The value starts from |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
22C97E95-F023-56B5-8852-B1A77A17XXXX |
| TaskInstanceLog |
string |
The runtime log of the task instance. |
This is running log |
Examples
Success response
JSON format
{
"RequestId": "22C97E95-F023-56B5-8852-B1A77A17XXXX\n",
"TaskInstanceLog": "This is running log"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.