Queries a real-time log delivery project.

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 DescribeDcdnSLSRealtimeLogDelivery

The operation that you want to perform. Set the value to DescribeDcdnSLSRealtimeLogDelivery.

ProjectName String Yes example

The name of a real-time log delivery project.

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
Content Struct

The configuration results of the domain name.

BusinessType String 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 DCDN nodes
  • cdn_log_origin: back-to-origin logs
  • cdn_log_er: EdgeRoutine logs
DataCenter String cn

The region from which logs were collected.

DomainName String example.com,example.org

The domain names from which logs were collected. You can specify one or more domain names. Separate multiple domain names with commas (,).

FieldName String field1,field2

The name of the field. For more information about fields in real-time log entries, see Fields in a real-time log.

ProjectName String example

The name of the real-time log delivery project.

SLSLogStore String example-cn

The name of the Logstore.

SLSProject String example-cn

The name of the Log Service project.

SLSRegion String cn-hangzhou

The region to which logs were delivered.

SamplingRate String 1.0

The sampling rate.

Type String SLS_POST

The type of log delivery. Only SLS_POST is supported.

RequestId String F32C57AA-7BF8-49AE-A2CC-9F42390F5A19

The ID of the request.

Examples

Sample requests

https://dcdn.aliyuncs.com?Action=DescribeDcdnSLSRealtimeLogDelivery
&ProjectName=example
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnSLSRealtimeLogDeliveryResponse>
  <RequestId>F32C57AA-7BF8-49AE-A2CC-9F42390F5A19</RequestId>
  <Content>
        <ProjectName>example</ProjectName>
        <DomainName>example.com,example.org</DomainName>
        <FieldName>field1,field2</FieldName>
        <SamplingRate>1.0</SamplingRate>
        <DataCenter>cn</DataCenter>
        <SLSRegion>cn-hangzhou</SLSRegion>
        <SLSProject>example-cn</SLSProject>
        <SLSLogStore>example-cn</SLSLogStore>
        <BusinessType>cdn_log_access_l1</BusinessType>
        <Type>SLS_POST</Type>
  </Content>
</DescribeDcdnSLSRealtimeLogDeliveryResponse>

JSON format

{
    "RequestId": "F32C57AA-7BF8-49AE-A2CC-9F42390F5A19",
    "Content": {
        "ProjectName": "example",
        "DomainName": "example.com,example.org",
        "FieldName": "field1,field2",
        "SamplingRate": "1.0",
        "DataCenter": "cn",
        "SLSRegion": "cn-hangzhou",
        "SLSProject": "example-cn",
        "SLSLogStore": "example-cn",
        "BusinessType": "cdn_log_access_l1",
        "Type": "SLS_POST"
    }
}

Error codes

For a list of error codes, visit the API Error Center.