You can call the DescribeDomainRealtimeLogDelivery operation to query the real-time log delivery information for a CDN domain.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to DescribeDomainRealtimeLogDelivery.
Domain String Yes The name of the CDN domain to query the real-time log delivery information for.

Response parameters

Parameter Type Description
RequestId String The ID of the request.
Status String The status of the real-time log delivery feature.
Project String The name of the project.
Logstore String The name of the Logstore.
Region String The region ID, such as cn-shanghai.

Examples

Sample request

https://cdn.aliyuncs.com?Action=DescribeDomainRealtimeLogDelivery&Domain=xxx.com

Sample success response

JSON format

{
    "Project":"test",
    "Logstore":"test",
    "Region":"cn-shanghai",
    "Status":"online",
    "RequestId":"2F8F3852-912F-42AC-80EB-F1CF4284DE93"
}

Error codes

Error code Error message HTTP status code Description
Domain.NotFound Domain not found 404 The error message returned because the real-time log delivery feature is disabled for the specified CDN domain.