调用DescribeDcdnRealTimeDeliveryField查询实时日志所有字段。

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

调试

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

请求参数

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

系统规定参数,取值:DescribeDcdnRealTimeDeliveryField

BusinessType String cdn_log_access_l1

业务类型,取值:

  • cdn_log_access_l1(默认值):l1访问日志。
  • cdn_log_origin:回源日志。
  • cdn_log_er:ER日志。

返回数据

名称 类型 示例值 描述
Content Array of Fields

返回参数内容。

Fields
Description String 访问时间

字段描述。

FieldName String unixtime

字段名称。所有字段请参见实时日志采集字段说明

RequestId String 3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4

请求ID。

示例

请求示例

https://dcdn.aliyuncs.com?Action=DescribeDcdnRealTimeDeliveryField&BusinessType=cdn_log_access_l1
&<公共请求参数>

正常返回示例

XML格式

<DescribeDcdnRealTimeDeliveryFieldResponse>
  <RequestId>3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4</RequestId>
  <Content>
        <Fields>
              <FieldName>unixtime</FieldName>
              <Description>访问时间</Description>
        </Fields>
        <Fields>
              <FieldName>client_ip</FieldName>
              <Description>用户真实IP</Description>
        </Fields>
  </Content>
</DescribeDcdnRealTimeDeliveryFieldResponse>

JSON格式

{
    "RequestId": "3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4",
    "Content": {
        "Fields": [
            {
                "FieldName": "unixtime",
                "Description": "访问时间"
            },
            {
                "FieldName": "client_ip",
                "Description": "用户真实IP"
            }
        ]
    }
}

错误码

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

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