Enables real-time log delivery for specific accelerated domain names.
Operation description
You can call this API operation up to 100 times per second per account.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Project |
string |
Yes |
The name of the Log Service project that is used for real-time log delivery. |
ProjectName |
| Logstore |
string |
Yes |
The name of the Logstore where log entries are stored. |
LogstoreName |
| Region |
string |
Yes |
The ID of the region where the Log Service project is deployed. For more information, see Regions that support real-time log delivery. |
cn-shanghai |
| Domain |
string |
Yes |
The accelerated domain name for which you want to configure real-time log delivery. |
example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
F32C57AA-7BF8-49AE-A2CC-9F42390F5A19 |
Examples
Success response
JSON format
{
"RequestId": "F32C57AA-7BF8-49AE-A2CC-9F42390F5A19"
}
Error response
JSON format
{
"RequestId": "F32C57AA-7BF8-49AE-A2CC-9F42390F5A19",
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Unauthorized | RealtimeLogDelivery Service Not Authorized | |
| 404 | LogstoreNotExist | Logstore does not exist | |
| 404 | InvalidDomain.NotFound | The domain does not exist, or it does not belong to you. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.