首页 文章

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

提问于
浏览
0

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

1 回答

  • 1

    似乎不支持在 Time range 中显示UTC时间 .

    解决方法:

    首先选择你的过滤条件,转到 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 .

    在结果中,选择 CHART ,您将看到UTC时间的结果 .

相关问题