You can call this operation to query the detailed information about a custom log configuration.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
ConfigId String Yes 123

The ID of the log configuration.

Action String No DescribeCustomLogConfig

The operation that you want to perform. Set the value to DescribeCustomLogConfig.

Response parameters

Parameter Type Example Description 
Remark String $time_iso8601_$request_method_$

The format of the log configuration.

RequestId String 94E3559F-7B6A-4A5E-AFFD-44E2A208A249

The ID of the request.

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

The sample log configuration.

Tag String img1

The tag information of the log configuration.

Examples

Sample requests

http(s)://cdn.aliyuncs.com/? Action=DescribeCustomLogConfig
&ConfigId=123
&<Common request parameters>

Sample success responses

XML format

<DescribeCustomLogConfigResponse>
	  <Tag>xxxxx</Tag>
	  <RequestId>F32C57AA-7BF8-49AE-A2CC-3F42390F5A16</RequestId>
	  <Sample>[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 "-" "GEThttp: //www.aliyun.com/index.html" 200</Sample>
	  <Remark>$time_iso8601_$request_method_$server_protocol..... </Remark>
</DescribeCustomLogConfigResponse>

JSON format

{
	"Tag":"xxxxx",
	"RequestId":"F32C57AA-7BF8-49AE-A2CC-3F42390F5A16",
	"Sample":"[9/Jun/2015:01:58:09 +0800] 188.165.15.75 - 1542 \"-\" \"GEThttp: //www.aliyun.com/index.html\" 200",
	"Remark":"$time_iso8601_$request_method_$server_protocol....."
}

Error codes

For more information about error codes, visit API Error Center.