我正在从Log Analytics中查询Azure网络/“ trafficManagerProfiles事件,更具体地说是当Traffic Manager配置文件处于禁用状态时。
我设法找到一个特定的事件,发现我需要查看嵌套在“属性”->“请求主体”->“属性”->“ profileStatus”中的“ profileStatus”。查看图片{{ 0}}
AzureActivity | where ResourceId contains "trafficManagerProfiles" | where Properties contains 'profileStatus'
当流量管理器配置文件时,尤其是当“ profileStatus”等于“已禁用”时,我需要在洛杉矶获取事件
答案 0 :(得分:1)
找到了这篇文章的答案:Log Analtyics - How to use "inverted commas" within search query
AzureActivity | where ResourceId contains "trafficManagerProfiles" | where Properties contains '\\"profileStatus\\":\\"Disabled\\"'