You can call the ModifyRealtimeLogDelivery operation to modify the real-time log delivery configuration for a CDN domain. You can import log data of a CDN domain to only one Logstore.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to ModifyRealtimeLogDelivery.
Domain String Yes The name of the domain to modify the real-time log delivery configuration for.
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.

Response parameters

Parameter Type Description
RequestId String The ID of the request.

Examples

Sample request

https://cdn.aliyuncs.com?Action=ModifyRealtimeLogDelivery&Domain=xxx.com&Project=test&Logstore=test&Region=test

Sample response

{
    "RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7",
}

Error codes

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