- 首页
- API Enriched
- API 参考
- 📈 统计 API
📈 统计 API
具有接收器集成的告警策略。日志聚合、拓扑视图和站点健康跟踪。
- 类别:运营
- 复杂度:高级
- 路径数:77 | 模式数:575
- 层级:标准
- 相关域:
observability、support
- 访问流量统计和分析
- 管理告警及告警策略
- 查看日志和日志接收器
- 生成报告和图表
- 跟踪拓扑和服务发现
- 监控站点状态
- dashboard:用于指标可视化的仪表盘
- saved_query:用于指标和日志分析的已保存查询
| 方法 | 路径 | 描述 |
|---|---|---|
| POST | /api/config/namespaces/{metadata.namespace}/alert_policys | 创建告警策略。 |
| PUT | /api/config/namespaces/{metadata.namespace}/alert_policys/{metadata.name} | 替换告警策略。 |
| POST | /api/alert/namespaces/{namespace}/alert_policy/match | 获取告警策略匹配。 |
| GET | /api/config/namespaces/{namespace}/alert_policys | 列出告警策略。 |
| GET | /api/config/namespaces/{namespace}/alert_policys/{name} | 获取告警策略。 |
| DELETE | /api/config/namespaces/{namespace}/alert_policys/{name} | 删除告警策略。 |
| POST | /api/config/namespaces/{metadata.namespace}/alert_receivers | 创建告警接收器。 |
| PUT | /api/config/namespaces/{metadata.namespace}/alert_receivers/{metadata.name} | 替换告警接收器。 |
| GET | /api/config/namespaces/{namespace}/alert_receivers | 列出告警接收器。 |
| GET | /api/config/namespaces/{namespace}/alert_receivers/{name} | 获取告警接收器。 |
| DELETE | /api/config/namespaces/{namespace}/alert_receivers/{name} | 删除告警接收器。 |
| POST | /api/alert/namespaces/{namespace}/alert_receivers/{name}/confirm | 确认告警接收器。 |
| POST | /api/alert/namespaces/{namespace}/alert_receivers/{name}/test | 测试告警接收器。 |
| POST | /api/alert/namespaces/{namespace}/alert_receivers/{name}/verify | 验证告警接收器。 |
| GET | /api/data/namespaces/system/all_ns_alerts | 获取告警。 |
| PUT | /api/web/namespaces/system/catalogs | 列出。 |
| GET | /api/discovery/custom/namespaces/{namespace}/discovered_services | 列出特定类型的已发现服务。 |
| GET | /api/discovery/namespaces/{namespace}/discovered_services | 列出已发现服务。 |
| GET | /api/discovery/namespaces/{namespace}/discovered_services/{name} | 获取已发现服务对象。 |
| POST | /api/discovery/namespaces/{namespace}/discovered_services/{name}/create_http_load_balancer | 创建 HTTP/HTTPS 负载均衡器。 |
| POST | /api/discovery/namespaces/{namespace}/discovered_services/{name}/create_tcp_load_balancer | 创建 TCP 负载均衡器。 |
| POST | /api/discovery/namespaces/{namespace}/discovered_services/{name}/disable_visibility | 禁用所有工作空间中的可见性。 |
| POST | /api/discovery/namespaces/{namespace}/discovered_services/{name}/enable_visibility | 启用所有工作空间中的可见性。 |
| POST | /api/discovery/namespaces/{namespace}/suggest-values | 建议值。 |
| GET | /api/config/namespaces/{namespace}/flow_anomalys | 列出流量异常。 |
| GET | /api/config/namespaces/{namespace}/flow_anomalys/{name} | 获取流量异常。 |
| POST | /api/operate/namespaces/{namespace}/sites/{site}/ver/matching_flows | 显示匹配流量。 |
| POST | /api/config/namespaces/system/flow-collection/addon/subscribe | 订阅流量采集。 |
| GET | /api/config/namespaces/system/flow-collection/addon/subscription-status | 检查流量采集的订阅状态。 |
| POST | /api/config/namespaces/system/flow-collection/addon/unsubscribe | 取消订阅流量采集。 |
| POST | /api/config/namespaces/{metadata.namespace}/global_log_receivers | 创建全局日志接收器。 |
| PUT | /api/config/namespaces/{metadata.namespace}/global_log_receivers/{metadata.name} | 替换全局日志接收器。 |
| POST | /api/data/namespaces/{namespace}/global_log_receiver/status | 全局日志接收器状态。 |
| GET | /api/config/namespaces/{namespace}/global_log_receivers | 列出全局日志接收器。 |
| GET | /api/config/namespaces/{namespace}/global_log_receivers/{name} | 获取全局日志接收器。 |
| DELETE | /api/config/namespaces/{namespace}/global_log_receivers/{name} | 删除全局日志接收器。 |
| POST | /api/log_receiver/namespaces/{namespace}/global_log_receivers/{name}/test | 测试全局日志接收器。 |
| POST | /api/config/namespaces/{metadata.namespace}/log_receivers | 创建日志接收器。 |
| PUT | /api/config/namespaces/{metadata.namespace}/log_receivers/{metadata.name} | 替换日志接收器。 |
| GET | /api/config/namespaces/{namespace}/log_receivers | 列出日志接收器。 |
| GET | /api/config/namespaces/{namespace}/log_receivers/{name} | 获取日志接收器。 |
| DELETE | /api/config/namespaces/{namespace}/log_receivers/{name} | 删除日志接收器。 |
| POST | /api/config/namespaces/{namespace}/log_receivers/{name}/test | 测试日志接收器。 |
| POST | /api/data/namespaces/{namespace}/firewall_logs | 防火墙日志查询。 |
| POST | /api/data/namespaces/{namespace}/firewall_logs/aggregation | 防火墙日志聚合查询。 |
| GET | /api/data/namespaces/{namespace}/firewall_logs/scroll | 防火墙日志滚动查询。 |
| POST | /api/data/namespaces/{namespace}/firewall_logs/scroll | 防火墙日志滚动查询。 |
| GET | /api/data/namespaces/{namespace}/k8s_audit_logs/scroll | K8s 审计日志滚动查询。 |
| POST | /api/data/namespaces/{namespace}/k8s_audit_logs/scroll | K8s 审计日志滚动查询。 |
| GET | /api/data/namespaces/{namespace}/k8s_events/scroll | K8s 事件滚动查询。 |
| POST | /api/data/namespaces/{namespace}/k8s_events/scroll | K8s 事件滚动查询。 |
| POST | /api/data/namespaces/{namespace}/platform_events | 平台事件查询。 |
| POST | /api/data/namespaces/{namespace}/platform_events/aggregation | 平台事件聚合查询。 |
| GET | /api/data/namespaces/{namespace}/platform_events/scroll | 平台事件滚动查询。 |
| POST | /api/data/namespaces/{namespace}/platform_events/scroll | 平台事件滚动查询。 |
| POST | /api/data/namespaces/{namespace}/vk8s_audit_logs | VK8s 审计日志查询。 |
| POST | /api/data/namespaces/{namespace}/vk8s_audit_logs/aggregation | VK8s 审计日志聚合查询。 |
| GET | /api/data/namespaces/{namespace}/vk8s_audit_logs/scroll | VK8s 审计日志滚动查询。 |
| POST | /api/data/namespaces/{namespace}/vk8s_audit_logs/scroll | VK8s 审计日志滚动查询。 |
| POST | /api/data/namespaces/{namespace}/vk8s_events | VK8s 事件查询。 |
| POST | /api/data/namespaces/{namespace}/vk8s_events/aggregation | VK8s 事件聚合查询。 |
| GET | /api/data/namespaces/{namespace}/vk8s_events/scroll | VK8s 事件滚动查询。 |
| POST | /api/data/namespaces/{namespace}/vk8s_events/scroll | VK8s 事件滚动查询。 |
| GET | /api/report/namespaces/{namespace}/reports/{name} | 获取报告。 |
| GET | /api/report/namespaces/{namespace}/reports/{name}/download | 下载报告。 |
| POST | /api/report/namespaces/{metadata.namespace}/report_configs | 创建报告配置。 |
| PUT | /api/report/namespaces/{metadata.namespace}/report_configs/{metadata.name} | 替换报告配置。 |
| GET | /api/report/namespaces/{namespace}/report_configs | 列出报告配置。 |
| POST | /api/report/namespaces/{namespace}/report_configs/list-reports-history | 列出报告历史记录。 |
| POST | /api/report/namespaces/{namespace}/report_configs/list-reports-history-bot-defence | 列出 Bot Defense 报告历史记录。 |
| POST | /api/report/namespaces/{namespace}/report_configs/list-reports-history-waap | 列出 WAAP 报告历史记录。 |
| GET | /api/report/namespaces/{namespace}/report_configs/{name} | 获取报告配置。 |
| DELETE | /api/report/namespaces/{namespace}/report_configs/{name} | 删除报告配置。 |
| POST | /api/report/namespaces/{namespace}/report_configs/{name}/generate | 立即生成报告。 |
| POST | /api/data/namespaces/system/graph/all_ns_service | 所有命名空间服务图查询。 |
| POST | /api/data/namespaces/system/topology/dc_cluster_group/{dc_cluster_group} | DC 集群拓扑。 |
| GET | /api/data/namespaces/system/topology/dc_cluster_groups | DC 集群组摘要。 |
| GET | /api/data/namespaces/system/topology/network/{id}/route_tables | 获取网络路由表。 |
| GET | /api/data/namespaces/system/topology/route_table/{name} | 获取路由表。 |
| POST | /api/data/namespaces/system/topology/site_mesh_group/{site_mesh_group} | 站点网格拓扑。 |
| GET | /api/data/namespaces/system/topology/site_mesh_groups | 站点网格组摘要。 |
| GET | /api/data/namespaces/system/topology/tgw/{id}/route_tables | 获取 TGW 路由表。 |
| POST | /api/infraprotect/namespaces/{namespace}/graph/l3l4/by_application/{network_id} | L3l4 应用流量查询。 |
| POST | /api/infraprotect/namespaces/{namespace}/graph/l3l4/by_mitigation/{mitigation_id} | L3l4 缓解流量查询。 |
| POST | /api/infraprotect/namespaces/{namespace}/graph/l3l4/by_network/{network_id} | L3l4 网络流量查询。 |
| POST | /api/infraprotect/namespaces/{namespace}/graph/l3l4/by_zone/{network_id} | L3l4 区域流量查询。 |
| POST | /api/infraprotect/namespaces/{namespace}/graph/l3l4/event_count/{network_id} | L3l4 事件计数。 |
| POST | /api/infraprotect/namespaces/{namespace}/graph/l3l4/top_talkers/{network_id} | L3l4 Top Talkers 查询。 |