调用DescribeDcdnSLSRealtimeLogDelivery查看实时日志项目。
接口说明
单用户调用频率:100 次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
dcdn:DescribeDcdnSLSRealtimeLogDelivery |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
ProjectName |
string |
是 |
日志服务(SLS)项目名称。 |
example |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
RequestId |
string |
请求 ID。 |
F32C57AA-7BF8-49AE-A2CC-9F42390F5A19 |
Content |
object |
域名配置结果信息。 |
|
Status |
string |
SLS 实时日志状态。
|
success |
Type |
string |
投递类型。目前仅支持SLS_POST(SLS 投递)类型。 |
SLS_POST |
SLSLogStore |
string |
日志库名称。 |
example-cn |
DataCenter |
string |
数据中心。 |
cn |
FieldName |
string |
字段名称。所有字段请参见实时日志采集字段说明。 |
field1,field2 |
ProjectName |
string |
项目名称。 |
example |
SamplingRate |
string |
采样率。 |
1.0 |
SLSProject |
string |
日志名称。 |
example-cn |
DomainName |
string |
域名列表,多个域名用半角逗号(,)隔开。 |
example.com,example.org |
BusinessType |
string |
业务类型,取值:
|
cdn_log_access_l1 |
SLSRegion |
string |
日志区域名称。 |
cn-hangzhou |
示例
正常返回示例
JSON
格式
{
"RequestId": "F32C57AA-7BF8-49AE-A2CC-9F42390F5A19",
"Content": {
"Status": "success",
"Type": "SLS_POST",
"SLSLogStore": "example-cn",
"DataCenter": "cn",
"FieldName": "field1,field2",
"ProjectName": "example",
"SamplingRate": "1.0",
"SLSProject": "example-cn",
"DomainName": "example.com,example.org",
"BusinessType": "cdn_log_access_l1",
"SLSRegion": "cn-hangzhou"
}
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | ProjectNotFound | The project provided does not belong to you. | 项目不存在或不属于当前用户 |
500 | Internal Exception | The request processing has failed due to some unknown error, exception or failure. | 内部错误,请稍后重试或联系我们。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。