【发布时间】:2020-12-31 16:12:41
【问题描述】:
我有以自定义事件格式保存的 azure Insights 中的数据。 现在我需要在我的网站中创建一个仪表板页面,该页面将从洞察力中提取数据并显示该数据的图表。 问题是我如何根据保存在那里的数据过滤来自 customEvents 的数据。比如基于自定义事件或自定义数据。
提供我可以看到 $filer、$search、$query 是如何工作的任何资源? 我在这里https://dev.applicationinsights.io/quickstart 但看起来还不够。
我尝试添加过滤器,例如 startswith(customEvent/name, 'BotMessageReceived') 在https://dev.applicationinsights.io/apiexplorer/events 但它不起作用。是说“运行查询时出现问题”, 我有名称以 BotMessageReceived 开头的 customEvents
谢谢 达尔维尔
【问题讨论】:
-
请使用分析查询和您在问题中提到的api,例如
https://api.applicationinsights.io/v1/apps/Your_application_id/query?query=events | where timestamp >ago(5h)
标签: azure azure-application-insights