子域名统计信息
GET
http:/domain/api/front/host/statics?func=flows&host=test.bai-du.com&interval_time=1h&interval_day=1d
请求头
参数名
类型
描述
必填
Content-Type:application/json
sring
必填
Authorization
string
例如:Bearer token值
必填
请求参数
参数名
类型
描述
必填
func
string
统计类型 codes-状态吗 hits-命中率 flows=流量 wafs-防御
可选
host
string
域名
可选
interval_time
string
时间粒度 1m,5m,1h,1d
可选
interval_day
string
时间范围 30m,6h,12h,24h,7d,30d
可选
响应参数
参数名
类型
描述
必填
reqflow
int
入流量 M (flows)
必填
sendflow
int
出流量 M(flows)
必填
sourceflow
int
回源流量 M(flows)
必填
2xx
int
状态码 (codes)
必填
3xx
int
状态码 (codes)
必填
4xx
int
状态码 (codes)
必填
5xx
int
状态码 (codes)
必填
wafs
int
防御次数(wafs)
必填
hits
float
请求命中率(hits)
必填
flows
float
流量命中率(hits)
必填