Updates the fields in real-time log entries.
Note The maximum number of times that each user can call this operation per second is 100.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateDcdnUserRealTimeDeliveryField |
The operation that you want to perform. Set the value to UpdateDcdnUserRealTimeDeliveryField. |
Fields | String | Yes | body_bytes_sent,client_ip,content_type |
The list of fields. Separate multiple fields with commas (,). Valid values:
|
BusinessType | String | No | cdn_log_access_l1 |
The type of the collected logs. Default value: cdn_log_access_l1. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4 |
The ID of the request. |
Examples
Sample requests
https://dcdn.aliyuncs.com?Action=UpdateDcdnUserRealTimeDeliveryField&BusinessType=cdn_log_access_l1&Fields=body_bytes_sent,client_ip,content_type
&<Common request parameters>
Sample success responses
XML
format
<UpdateDcdnUserRealTimeDeliveryFieldResponse>
<RequestId>3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4</RequestId>
</UpdateDcdnUserRealTimeDeliveryFieldResponse>
JSON
format
{
"RequestId": "3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | Unauthorized | RealtimeLogDelivery service is not authorized. | The error message returned because you are not authorized to use real-time log delivery. |
For a list of error codes, visit the API Error Center.