You can call the ListRealtimeLogDeliveryDomains operation to query all domains that are associated with a specific real-time log delivery configuration.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to ListRealtimeLogDeliveryDomains.
Project String Yes The name of the project.
Logstore String Yes The name of the Logstore.
Region String Yes The region ID, such as cn-shanghai. For more information, see Appendix.

Response parameters

Parameter Type Description
DomainName String The name of the CDN domain.
Status String The status of the CDN domain.
  • online: enabled
  • offline: disabled

Examples

Sample request

https://cdn.aliyuncs.com?Action=ListRealtimeLogDeliveryDomains&Project=test&Logstore=test&Region=test

Sample success response

JSON format

{
    "Content":{
        "Domains":[
            {   
                "DomainName":"a.xxx.com",
                "Status":"online"
            },
            {   
                "DomainName":"b.xxx.com",
                "Status":"offline"
            }
            ...
        ]
    },
    "RequestId":"95D5B69F-8AEC-419B-8F3A-612B35032B0D"
}

Error codes

Error code Error message HTTP status code Description
Unauthorized RealtimeLogDelivery Service Not Authorized 403 The error message returned because your CDN is not authorized to access Log Service.
LogstoreNotExist Logstore does not exist 404 The error message returned because the specified Logstore was not found.