Queries the top 10 IP addresses that have the highest number of requests.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeVisitTopIp |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Resource |
string |
No |
The protected object. |
www.aliyundoc.com |
| StartTimestamp |
string |
Yes |
The start of the time range to query. The value is a UNIX timestamp. Unit: seconds. |
1665331200 |
| EndTimestamp |
string |
No |
The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you do not set this parameter, the end time is the current time. |
1665386280 |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call the DescribeInstance operation to query the ID of the WAF instance. |
waf_cdnsdf3**** |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The result of the request. |
||
| RequestId |
string |
The ID of the request. |
5D2B8DAE-A761-58CB-A68D-74989E4831DA |
| TopIp |
array<object> |
The top 10 IP addresses that initiate the most requests. |
|
|
object |
The statistics of requests from an IP address. |
||
| Area |
string |
The code of the geographical location. |
310000 |
| Ip |
string |
The IP address. |
1.1.XX.XX |
| Isp |
string |
The service provider (SP). |
AAA |
| Count |
integer |
The total number of requests that are initiated from the IP address. |
2622 |
Examples
Success response
JSON format
{
"RequestId": "5D2B8DAE-A761-58CB-A68D-74989E4831DA",
"TopIp": [
{
"Area": "310000",
"Ip": "1.1.XX.XX",
"Isp": "AAA",
"Count": 2622
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.