Queries the delivery configuration and status of a specified task.
Operation description
-
Function: Retrieves detailed delivery information for a specified task, including the task name, discard rate, region, business type, status, delivery type, delivery configuration, and filter rules.
-
Use case: Review the log processing and delivery configuration for a specific task to analyze processing efficiency or troubleshoot issues.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetUserDeliveryTask |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskName |
string |
Yes |
The task name. |
test_project |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
7072132a-bd3c-46a6-9e81-aba3e0e3f861 |
| TaskName |
string |
The task name. |
testoss11 |
| DiscardRate |
number |
The discard rate. |
0 |
| DataCenter |
string |
The data center. Valid values:
|
cn |
| BusinessType |
string |
The business type. Valid values:
|
dcdn_log_er |
| Status |
string |
The task status. |
online |
| DeliveryType |
string |
The delivery type. Valid values:
|
oss |
| FieldList |
string |
A comma-separated list of fields. |
ClientRequestID,ClientRequestHost |
| FilterRules |
string |
The filter rules. |
[{"ClientSSLProtocol": {"equals": ["TLSv1.3"]}}] |
| SinkConfig |
any |
The delivery configuration. |
{'Project': 'er-online-hjy-pro', 'Logstore': 'er-online-hjy-log', 'Region': 'cn-hangzhou', 'Endpoint': 'cn-hangzhou.log.aliyuncs.com', 'Aliuid': '1077912128805410'} |
| Details |
string |
||
| RawRule |
string |
||
| FilterVer |
string |
Examples
Success response
JSON format
{
"RequestId": "7072132a-bd3c-46a6-9e81-aba3e0e3f861",
"TaskName": "testoss11",
"DiscardRate": 0,
"DataCenter": "cn",
"BusinessType": "dcdn_log_er",
"Status": "online",
"DeliveryType": "oss",
"FieldList": "ClientRequestID,ClientRequestHost",
"FilterRules": "[{\"ClientSSLProtocol\": {\"equals\": [\"TLSv1.3\"]}}]",
"SinkConfig": "{'Project': 'er-online-hjy-pro', 'Logstore': 'er-online-hjy-log', 'Region': 'cn-hangzhou', 'Endpoint': 'cn-hangzhou.log.aliyuncs.com', 'Aliuid': '1077912128805410'}",
"Details": "",
"RawRule": "",
"FilterVer": ""
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 403 | EsaService.NotOpen | ESA service has not opend. | Edge Security Accelerator (ESA) is not turned on |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.