【发布时间】:2026-02-03 22:40:01
【问题描述】:
我有一个查询显示过去 5 分钟内出现 5xx 和 4xx 错误的结果:
requests
| where timestamp > now() - 5m
| where url contains "xxxxxx" and resultCode startswith "5" or resultCode startswith "4"
| project resultCode
| summarize Count= count() by resultCode
查询打印我所有的 5xx 和 4xx 如下:
是否可以获得所有 4xx 和 5xx 的计数但打印在 2 行? 示例:
谢谢
【问题讨论】: