azure - 在 Azure 应用程序见解中查看/查询自定义事件

标签 azure azure-application-insights hockeyapp ms-app-analytics

我正在使用曲棍球应用程序来分发移动应用程序。

enter image description here

我需要查看它们的附加属性,它说我需要链接到 azure 应用程序见解。我已经这么做了。在里面,我还看到了带有属性的自定义事件。问题是我不知道如何查询所有自定义事件及其有效负载。我该如何编写脚本?我的事件名称之一称为“VIEW_MEDIA”。

我已使用此查询命令来获取 VIEW_MEDIA 的报告,但它没有给我它们的属性。

customEvents | where name startswith "VIEW_MEDIA" | summarize count() by name | render piechart 

最佳答案

当您运行summarize count() by name部分时,您基本上会从结果中删除除事件名称及其各自的计数之外的所有数据。

如果您希望查询按某些属性进行汇总,您可以运行与此类似的查询:

customEvents 
| where name starswith "VIEW_MEDIA" 
| extend myProperty = tostring(customDimensions.MyProperty) 
| summarize count() by name, myProperty 
| render ...

关于azure - 在 Azure 应用程序见解中查看/查询自定义事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47006821/

相关文章:

c# - 从 Azure Blob 存储容器获取最新文件夹

windows - Jenkins Azure Blob 存储插件,用于将 Build 文件夹的内容而不是构建文件夹的内容复制到 $web azure blob static cotainer

azure - Application Insight 最值得推荐的值是多少

azure - 复制 Azure Application Insights 仪表板并指向新的 Application Insights 实例

java - 如何在Android的Qt上使用HockeyApp SDK

在 Visual Studio 2013 中进行调试时,Azure 计算模拟器无法启动,并保持关闭状态

azure - Azure 上 "Plan Service"级别上的 SocketException

iphone - 曲棍球与测试飞行

ios - HockeyApp:不显示安装对话框

angularjs - 如何通过 WebApp 图像前端项目有效地使用 Azure CDN