调用UpdateDcdnUserRealTimeDeliveryField更新实时日志字段。

说明 单用户调用频率:100次/秒。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String UpdateDcdnUserRealTimeDeliveryField

系统规定参数。取值:UpdateDcdnUserRealTimeDeliveryField

BusinessType String cdn_log_access_l1

业务类型,取值:

  • cdn_log_access_l1(默认值):全站加速l1节点访问日志。
  • cdn_log_origin:回源日志。
  • cdn_log_er:ER日志。
Fields String body_bytes_sent,client_ip,content_type

字段列表,多个字段用半角逗号(,)隔开。取值请参见实时日志采集字段说明

返回数据

名称 类型 示例值 描述
RequestId String 3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4

请求ID。

示例

请求示例

http(s)://dcdn.aliyuncs.com/?Action=UpdateDcdnUserRealTimeDeliveryField
&BusinessType=cdn_log_access_l1
&Fields=body_bytes_sent,client_ip,content_type
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<UpdateDcdnUserRealTimeDeliveryFieldResponse>
<RequestId>3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4</RequestId>
</UpdateDcdnUserRealTimeDeliveryFieldResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4"
}

错误码

HttpCode 错误码 错误信息 描述
400 Unauthorized RealtimeLogDelivery service is not authorized. 实时日志投递没有授权。

访问错误中心查看更多错误码。