Mengkueri tren kode tanggapan abnormal, seperti 5xx, 405, 499, 302, dan 444, yang dikembalikan oleh Web Application Firewall (WAF) ke klien atau oleh server asal ke WAF.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeResponseCodeTrendGraph |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StartTimestamp |
string |
Yes |
Awal rentang pengatur waktu yang akan dikueri. Nilainya adalah Stempel waktu UNIX. Unit: detik. |
1665331200 |
| EndTimestamp |
string |
No |
Akhir rentang pengatur waktu yang akan dikueri. Nilainya adalah Stempel waktu UNIX. Unit: detik. Jika Anda tidak menentukan parameter ini, pengatur waktu saat ini digunakan sebagai pengatur waktu akhir. |
1665386280 |
| Interval |
string |
Yes |
Interval pengatur waktu. Unit: detik. Nilainya harus kelipatan 60. |
300 |
| Type |
string |
Yes |
Tipe kode tanggapan. Nilai valid:
|
waf |
| Resource |
string |
No |
Objek yang dilindungi. |
www.aliyundoc.com |
| InstanceId |
string |
Yes |
ID Instans WAF. Catatan
Panggil DescribeInstance untuk mengkueri ID Instans WAF. |
waf_cdnsdf3**** |
| RegionId |
string |
No |
Wilayah Instans WAF. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-acfm***q |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
7D46493E-84DD-58CE-80A7-8643F2B09ECC |
| ResponseCodes |
array<object> |
The statistics of response codes. |
|
|
object |
The statistics of response codes. |
||
| 5xxPv |
integer |
The number of 5xx response codes. |
2932 |
| Index |
integer |
The serial number of the time interval, sorted in chronological order. |
10 |
| 405Pv |
integer |
The number of 405 response codes. |
121645464 |
| 499Pv |
integer |
The number of 499 response codes. |
0 |
| 302Pv |
integer |
The number of 302 response codes. |
0 |
| 444Pv |
integer |
The number of 444 response codes. |
0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7D46493E-84DD-58CE-80A7-8643F2B09ECC",
"ResponseCodes": [
{
"5xxPv": 2932,
"Index": 10,
"405Pv": 121645464,
"499Pv": 0,
"302Pv": 0,
"444Pv": 0
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.