Queries the ratio of the top network traffic.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the visitor. |
60.12.220.XXX |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| SourceCode |
string |
Yes |
The source identifier. |
yundun |
| AppName |
string |
No |
The application name. |
HTTP |
| AssetIP |
string |
No |
The IP address of the asset. |
192.0.XX.XX |
| AssetRegion |
string |
No |
The region where the asset resides. |
cn-beijing |
| DataType |
string |
Yes |
The data type. Valid values:
|
in_src_ip |
| Direction |
string |
No |
The traffic direction. Valid values:
|
in |
| DstIP |
string |
No |
The destination IP address. |
39.144.124.XXX |
| DstPort |
string |
No |
The destination port. |
8080 |
| EndTime |
string |
Yes |
The end of the time range to query. The value is a UNIX timestamp in seconds. |
1757433863 |
| IpProperty |
string |
No |
The IP address property. |
proxy |
| Isp |
string |
No |
The Internet Service Provider (ISP). |
电信 |
| Location |
string |
No |
The area. |
杭州市 |
| RuleResult |
string |
No |
The action triggered by the rule. Valid values:
|
1 |
| Sort |
string |
No |
The sorting method. Valid values:
|
in_bytes |
| SrcIP |
string |
No |
The source IP address. |
172.16.169.XXX |
| StartTime |
string |
Yes |
The beginning of the time range to query. The value is a UNIX timestamp in seconds. |
1749176793 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DataType |
string |
The data type. Valid values:
|
in_src_ip |
| RequestId |
string |
The request ID. |
C05D58A1-28A9-563A-BB59-5F7D1867**** |
| DataCount |
integer |
The number of results returned. |
1 |
| DataList |
array<object> |
The list of data values. |
|
|
object |
The list of data values. |
||
| DataValue |
string |
The ratio. |
12 |
| DataName |
string |
The data name. |
test |
Examples
Success response
JSON format
{
"DataType": "in_src_ip",
"RequestId": "C05D58A1-28A9-563A-BB59-5F7D1867****",
"DataCount": 1,
"DataList": [
{
"DataValue": "12",
"DataName": "test"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorSourceCodeError | The source code is invalid. | The source code is invalid. |
| 400 | ErrorDataTypeError | The data type is invalid. | The data type is invalid. |
| 400 | ErrorTimeError | The time is invalid. | The time is invalid. |
| 400 | ErrorSortError | The sort is invalid. | The sort is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.