如何在Application Insights中显示UTC以进行时间范围搜索?

时间:2018-12-10 09:19:36

标签: azure-application-insights

我注意到Application Insights Search功能的时间范围正在使用我的本地时区。有没有办法设置使用UTC的时间范围?

enter image description here

1 个答案:

答案 0 :(得分:2)

似乎不支持在<body id="Body_id"> <h1>Hello</h1> <div id="divFirst"> <h1>DivFirst</h1> <div id="divSecond"> <h1>DivSecond</h1> <div id="b"> <h1>Bye</h1> </div> </div> </div> </body>中显示UTC时间。

解决方法:

首先选择过滤条件,转到Time range,您将在查询中找到与Analytics类似的UTC时间,然后可以修改时间-> requests | extend itemType = iif(itemType == 'request',itemType,"") | where (itemType == 'request' and (timestamp >= datetime(2018-12-06T06:36:00.000Z) and timestamp <= datetime(2018-12-07T06:36:00.000Z))) | top 101 by timestamp desc

在结果中,选择Run,您将看到带有UTC时间的结果。

enter image description here

相关问题