waf__ListQpsTimeline
Queries Web Application Firewall security statistics for QPS counts over a specified time range, with optional grouping by day, host, instance, or enterprise project.
Instructions
[WAF] 查询安全统计qps次数。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"project_id": "<project_id>",
"to": "<to>"
},
"name": "waf__ListQpsTimeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 结束时间(13位毫秒时间戳),需要和from同时使用 | |
| from | Yes | 起始时间(13位毫秒时间戳),需要和to同时使用 | |
| hosts | No | 域名id,通过查询云模式防护域名列表(ListHost)获取域名id或者通过独享模式域名列表(ListPremiumHost)获取域名id | |
| group_by | No | 展示维度,按天展示时传"DAY";默认不传,按照分钟展示 | |
| instances | No | 要查询引擎实例id(仅独享或者ELB实例化模式涉及) | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 |