Queries the log dump information configured in log analysis.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeLogAnalysis | The operation that you want to perform. Set the value to DescribeLogAnalysis. |
RegionId | String | Yes | cn-hangzhou | The ID of the region. |
PageSize | Integer | No | 1 | The number of entries to return on each page. Valid values: 1 to 100. Default value: 10. |
PageNumber | Integer | No | 1 | The number of the page to return. Default value: 1. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
TotalCount | Integer | 10 | The total number of log dump entries in the region. |
PageSize | Integer | 10 | The number of log dump entries returned per page. |
RequestId | String | C84F77AF-3DE5-48F1-B19B-37FCBE24**** | The ID of the request. |
PageNumber | Integer | 1 | The page number of the returned page. |
Analyses | Array of Analysis | The collection of log dump information. |
|
Analysis | |||
MetaKey | String | 0c7154xxxx | The ID of the file system. |
MetaValue | Object | The log dump information of the file system. |
|
RoleArn | String | acs:ram::162165525211xxxx:role/aliyunnaslogarchiverole | The role that is used by NAS to access Log Service. |
Region | String | cn-hangzhou | The region where the dedicated Logstore resides. |
Logstore | String | nas-nfs | The name of the dedicated Logstore that is used to store NAS operation logs. |
Project | String | nas-1746495857602745-cn-hangzhou | The name of the project where the dedicated Logstore resides. |
Code | String | 200 | The return code. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeLogAnalysis
&RegionId=cn-hangzhou
&PageSize=1
&PageNumber=1
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeLogAnalysisResponse>
<TotalCount>10</TotalCount>
<PageSize>10</PageSize>
<RequestId>C84F77AF-3DE5-48F1-B19B-37FCBE24****</RequestId>
<PageNumber>1</PageNumber>
<Analyses>
<MetaKey>0c7154xxxx</MetaKey>
<MetaValue>
<RoleArn>acs:ram::162165525211xxxx:role/aliyunnaslogarchiverole</RoleArn>
<Region>cn-hangzhou</Region>
<Logstore>nas-nfs</Logstore>
<Project>nas-1746495857602745-cn-hangzhou</Project>
</MetaValue>
</Analyses>
<Code>200</Code>
</DescribeLogAnalysisResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"TotalCount" : 10,
"PageSize" : 10,
"RequestId" : "C84F77AF-3DE5-48F1-B19B-37FCBE24****",
"PageNumber" : 1,
"Analyses" : [ {
"MetaKey" : "0c7154xxxx",
"MetaValue" : {
"RoleArn" : "acs:ram::162165525211xxxx:role/aliyunnaslogarchiverole",
"Region" : "cn-hangzhou",
"Logstore" : "nas-nfs",
"Project" : "nas-1746495857602745-cn-hangzhou"
}
} ],
"Code" : "200"
}
Error codes
For a list of error codes, see Service error codes.