下面的查询有什么问题?
let errIds = exceptions
| where operation_Name == "My Special Operation"
| summarize by operation_Id
traces
| where operation_Name == "My Special Operation" and operation_Id !in (errIds)
| summarize count() by operation_Id 我想要的是不产生异常的操作.
发布于 2017-06-02 13:59:01
实际上,我所缺少的只是let语句之后的一个let
发布于 2017-05-30 21:27:27
要获得不生成异常的跟踪,不如使用join使用exceptions,如下所示。将该类型的join设置为anti,以便获取没有任何关联异常的所有跟踪。
traces
| where operation_Name == "My Special Operation"
| join kind=anti (exceptions) on operation_Id
| summarize count() by operation_Id https://stackoverflow.com/questions/44270829
复制相似问题