全部产品
Search
文档中心

CDN:DescribeCustomLogConfig - 查询自定义日志配置-按日志配置ID

更新时间:Mar 01, 2024

调用DescribeCustomLogConfig根据configId查询自定义日志配置详细信息。

接口说明

说明 单用户调用频率:100 次/秒。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
ConfigIdstring

自定义配置 ID。

123

返回参数

名称类型描述示例值
object
Tagstring

日志配置 tag 信息。

img1
RequestIdstring

请求 ID。

94E3559F-7B6A-4A5E-AFFD-44E2A208A249
Remarkstring

具体配置格式。

$time_iso8601_$request_method_$
Samplestring

样例。

"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \"-\" \"GEThttp: //www.aliyun.com/index.html\" 200

示例

正常返回示例

JSON格式

{
  "Tag": "img1",
  "RequestId": "94E3559F-7B6A-4A5E-AFFD-44E2A208A249",
  "Remark": "$time_iso8601_$request_method_$",
  "Sample": "\"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \\\"-\\\" \\\"GEThttp: //www.aliyun.com/index.html\\\" 200"
}

错误码

HTTP status code错误码错误信息
403InvalidConfigIdIllegal ConfigId
404Config.NotFoundConfig does not exist or does not belong to the current user

访问错误中心查看更多错误码。