Queries the custom log configuration of an accelerated domain name.

Note The maximum number of times that each user can call this operation per second is 100.


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 software development kits (SDKs).

Request parameters

Parameter Type Required Example Description
Action String No DescribeDomainCustomLogConfig

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

DomainName String Yes example.com

The accelerated domain name. You can specify only one domain name.

Response parameters

Parameter Type Example Description
ConfigId String 123

The ID of the log configuration.

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]\"-\"\"GET http://www.aliyun.com/index.html\

The sample log configuration.

Tag String book

The tag information about the log configuration.


Sample requests

&<Common request parameters>

Sample success responses

XML format

	  <Sample>[9/Jun/2015:01:58:09+0800]"-""GET http://www.aliyun.com/index.html"2001912830MISS"Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)</Sample>

JSON format

    "ConfigId": "25473b84-d598-498e-b148-f23d0a27df52",
    "Tag": "book",
    "Remark": "$time_iso8601_$request_method_$server_protocol.....",
    "Sample": "[9/Jun/2015:01:58:09+0800]\"-\"\"GET http://www.aliyun.com/index.html\"2001912830MISS\"Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)",
    "RequestId": "1805F349-0A2B-41D9-B4AD-33632AFC27F1"

Error codes

For a list of error codes, visit the API Error Center.