Lists the log analysis configurations in log analysis.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeLogAnalysis |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| PageSize |
integer |
No |
The number of file systems on each page in a paging query. Valid values: 1 to 100. Default value: 10. |
1 |
| PageNumber |
integer |
No |
The page number of the file system list. Default value: 1. |
1 |
| FileSystemType |
string |
No |
The file system type. Valid values:
Valid values:
|
all |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of log analysis entries in the region. |
10 |
| PageSize |
integer |
The number of log analysis entries on each page. |
10 |
| RequestId |
string |
The request ID. |
C84F77AF-3DE5-48F1-B19B-37FCBE24**** |
| PageNumber |
integer |
The page number of the log analysis entries. |
1 |
| Analyses |
object |
||
| Analysis |
array<object> |
The collection of log analysis entries. |
|
|
array<object> |
|||
| MetaKey |
string |
The ID of the file system. |
0c7154xxxx |
| MetaValue |
object |
The log dump information of the file system. |
|
| RoleArn |
string |
The role that is used by NAS to access Simple Log Service. |
acs:ram::162165525211xxxx:role/aliyunnaslogarchiverole |
| Region |
string |
The region where the dedicated Logstore resides. |
cn-hangzhou |
| Logstore |
string |
The name of the dedicated Logstore that is used to store NAS operation logs. |
nas-nfs |
| Project |
string |
The name of the project where the dedicated Logstore resides. |
nas-1746495857602745-cn-hangzhou |
| Code |
string |
The return code. |
200 |
Examples
Success response
JSON format
{
"TotalCount": 10,
"PageSize": 10,
"RequestId": "C84F77AF-3DE5-48F1-B19B-37FCBE24****",
"PageNumber": 1,
"Analyses": {
"Analysis": [
{
"MetaKey": "0c7154xxxx",
"MetaValue": {
"RoleArn": "acs:ram::162165525211xxxx:role/aliyunnaslogarchiverole",
"Region": "cn-hangzhou",
"Logstore": "nas-nfs",
"Project": "nas-1746495857602745-cn-hangzhou"
}
}
]
},
"Code": "200"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.