Queries 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 | DescribeDcdnRealTimeDeliveryField |
The operation that you want to perform. Set the value to DescribeDcdnRealTimeDeliveryField. |
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 |
---|---|---|---|
Content | Array of Fields |
The returned results. |
|
Fields | |||
Description | String | The timestamp of the request |
The description of the field. |
FieldName | String | unixtime |
The name of the field. For more information about the fields in real-time log entries, see Fields in a real-time log. |
RequestId | String | 3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4 |
The ID of the request. |
Examples
Sample requests
https://dcdn.aliyuncs.com?Action=DescribeDcdnRealTimeDeliveryField&BusinessType=cdn_log_access_l1
&<Common request parameters>
Sample success responses
XML
format
<DescribeDcdnRealTimeDeliveryFieldResponse>
<RequestId>3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4</RequestId>
<Content>
<Fields>
<FieldName>unixtime</FieldName>
<Description>The timestamp of the request</Description>
</Fields>
<Fields>
<FieldName>client_ip</FieldName>
<Description>The real IP address of the client that sent the request</Description>
</Fields>
</Content>
</DescribeDcdnRealTimeDeliveryFieldResponse>
JSON
format
{
"RequestId": "3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4",
"Content": {
"Fields": [
{
"FieldName": "unixtime",
"Description": "The timestamp of the request"
},
{
"FieldName": "client_ip",
"Description": "The real IP address of the client that sent the request"
}
]
}
}
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.