Checks whether the Log Analysis feature is enabled for all domain names.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeWebAccessLogDispatchStatus |
The operation that you want to perform. Set the value to DescribeWebAccessLogDispatchStatus. |
RegionId | String | No | cn-hangzhou |
The region ID of the instance. Valid values:
|
ResourceGroupId | String | No | default |
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group. |
PageNumber | Integer | No | 1 |
The number of the page to return. For example, to query the returned results on the first page, set the value to 1. |
PageSize | Integer | No | 10 |
The number of entries to return on each page. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | CF33B4C3-196E-4015-AADD-5CAD00057B80 |
The ID of the request. |
SlsConfigStatus | Array |
The status of the Log Analysis feature of all domain names. |
|
Domain | String | www.aliyun.com |
The domain name. |
Enable | Boolean | true |
Indicates whether the Log Analysis feature is enabled. Valid values:
|
TotalCount | Integer | 1 |
The total number of returned domain names. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeWebAccessLogDispatchStatus
&<Common request parameters>
Sample success responses
XML
format
<? xml version="1.0" encoding="UTF-8" ? >
<DescribeWebAccessLogDispatchStatus>
<RequestId>CF33B4C3-196E-4015-AADD-5CAD00057B80</requestId>
<TotalCount>1</TotalCount>
<SlsConfigStatus>
<Enable>true</Enable>
<Domain>www.aliyun.com</Domain>
</SlsConfigStatus>
</DescribeWebAccessLogDispatchStatus>
JSON
format
{
"RequestId": "CF33B4C3-196E-4015-AADD-5CAD00057B80",
"TotalCount": 1,
"SlsConfigStatus": [
{
"Enable": true,
"Domain": "www.aliyun.com"
}
]
}
Error codes
For a list of error codes, visit the API Error Center.