Get DDoS Attack Statistics

Last updated: 2019-05-07 10:24:06

PDF

API Description

This API (BGPIPDDoSGetStatistics) is used to obtain the traffic statistics of the DDoS attacks against an Anti-DDoS Advanced IP.
Protocol: HTTPS
Domain Name: bgpip.api.qcloud.com
API: BGPIPDDoSGetStatistics

Request Parameters

Below is a list of API request parameters. You need to add common request parameters to your request when calling this API. For more information, see Common Request Parameters. The Action field for this API is BGPIPDDoSGetStatistics.

Parameter Required Type Description
id Yes String ID of the Anti-DDoS Advanced instance
beginDate Yes String Start time of the records. Format: YYYY-MM-DD. Example: 2016-11-10
endDate Yes String End time of the records. Format: YYYY-MM-DD. Example: 2016-11-11
stride Yes Integer Time granularity (in min).
If duration=1 day, stride=5;
If duration=7 days, stride=60;
If duratinon=30 days, stride=1,440

Response Parameters

Parameter Example Type Description
before [1,000 Mbps,…] Array Attack traffic peak before protection is enabled, i.e. the maximum traffic in each stride. For example, if duration is 5 minutes, the result is the maximum attack traffic within 5 minutes.
after [50 Mbps,…] Array Cleaned traffic peak after protection is enabled, i.e. the maximum traffic in each stride. For example, if the duration is 5 minutes, the result is the maximum cleaned traffic within 5 minutes.