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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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:

  • body_bytes_sent: The size of the request body. Unit: bytes.
  • client_ip: The real IP address of the client that sent the request, which can be a public IP address or a private IP address.
  • content_type: The type of the requested resource.
BusinessType String No cdn_log_access_l1

The type of the collected logs. Default value: cdn_log_access_l1. Valid values:

  • cdn_log_access_l1: access logs of L1 Dynamic Route for CDN (DCDN) nodes
  • cdn_log_origin: back-to-origin logs
  • cdn_log_er: EdgeRoutine logs

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.