Azure LogAnalytics查询禁用的Traffic Manager配置文件

时间:2019-05-17 11:36:36

标签: azure-log-analytics azure-traffic-manager nested-table

我正在从Log Analytics中查询Azure网络/“ trafficManagerProfiles事件,更具体地说是当Traffic Manager配置文件处于禁用状态时。

我设法找到一个特定的事件,发现我需要查看嵌套在“属性”->“请求主体”->“属性”->“ profileStatus”中的“ profileStatus”。查看图片{{ 0}}

AzureActivity | where ResourceId contains "trafficManagerProfiles" | where Properties contains 'profileStatus'

当流量管理器配置文件时,尤其是当“ profileStatus”等于“已禁用”时,我需要在洛杉矶获取事件

1 个答案:

答案 0 :(得分:1)

找到了这篇文章的答案:Log Analtyics - How to use "inverted commas" within search query

AzureActivity | where ResourceId contains "trafficManagerProfiles" | where Properties contains '\\"profileStatus\\":\\"Disabled\\"'