Queries information about a real-time log delivery project.
Operation description
You can call this operation up to 100 times per second per account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:ListDcdnRealTimeDeliveryProject |
list |
*Domain
*RealTimeLogDelivery
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BusinessType |
string |
No |
The type of the collected logs. Default value: cdn_log_access_l1. Valid values:
|
cdn_log_access_l1 |
| DomainName |
string |
No |
The domain name. You can specify only one domain name in each request. If this parameter is not specified, all domain names are queried. |
example.com |
| PageNumber |
integer |
No |
The number of the page to return. Valid values: 1 to 100000. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. The default value is 20. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of returned entries. |
2 |
| RequestId |
string |
The ID of the request. |
3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4 |
| Content |
object |
||
| Projects |
array<object> |
The configuration results of the domain name. |
|
|
object |
|||
| Type |
string |
The type of log delivery. Only SLS_POST is supported. |
SLS_POST |
| SLSLogStore |
string |
The name of the Logstore. |
example-cn |
| DataCenter |
string |
The region from which logs were collected. |
cn |
| FieldName |
string |
The name of the field. For more information about fields in real-time log entries, see Fields in a real-time log. |
field1,field2 |
| ProjectName |
string |
The name of the project. |
example |
| SamplingRate |
number |
The sampling rate. |
1 |
| SLSProject |
string |
The name of the log file. |
example-cn |
| DomainName |
string |
The domain names from which logs were collected. You can specify one or more domain names. Separate multiple domain names with commas (,). |
example.com,example.org |
| BusinessType |
string |
The type of the collected logs. Default value: cdn_log_access_l1. Valid values:
|
cdn_log_access_l1 |
| SLSRegion |
string |
The region to which logs were delivered. |
cn-hangzhou |
Examples
Success response
JSON format
{
"TotalCount": 2,
"RequestId": "3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4",
"Content": {
"Projects": [
{
"Type": "SLS_POST",
"SLSLogStore": "example-cn",
"DataCenter": "cn",
"FieldName": "field1,field2",
"ProjectName": "example",
"SamplingRate": 1,
"SLSProject": "example-cn",
"DomainName": "example.com,example.org",
"BusinessType": "cdn_log_access_l1",
"SLSRegion": "cn-hangzhou"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | Internal Exception | The request processing has failed due to some unknown error, exception or failure. | Internal error, please try again later or contact us. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.