在应用程序Insight的指标中显示用户ID [英] Display user ID in the metrics of application Insight

查看:65
本文介绍了在应用程序Insight的指标中显示用户ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此页 http://azure.microsoft.com/zh-CN/documentation/articles/app-insights-web-track-usage-custom-events-metrics/#authenticated-users

在授权用户"部分中显示如何获取登录信息.

Show how to have login information in the section "Authenticated users".

但是之后如何在Application Insight中查看此信息

But how can I see this information in Application Insight after that

推荐答案

我在事件的自定义事件属性中的任何地方都看不到用户,这似乎是内部字段,但并未直接在视图中公开,因为大多数这个自动收集"用户的时间将仅仅是一个自动生成的GUID....

I do not see user anywhere in the custom event properties for events, it seems to be the internal field that's collected but not directly exposed in the view because most of the time this "auto-collected" user would be simply an auto-generated GUID....

您可以在使用情况分析/用户"视图以及Metric Explorer中查看用户摘要(只需选择有关应用程序用户的指标,例如用户帐户" ...)

You can take a look at the users summary on "Usage Analytics/Users" view as well as in Metric Explorer (just select the metrics about app users like "user accounts"...)

您应该能够在诊断搜索"中搜索用户,但前提是您指定了要在搜索中查找的用户名-您将获得该特定用户的事件/跟踪等等.

You should be able to search for user in the Diagnostic Search but only if you specify the user name you are looking for in the search - you'll get events/traces and so on for that particular user.

此外,您可以尝试将经过身份验证的用户作为事件的自定义属性而不是(除了)嵌入式属性提交(在这种情况下),在这种情况下,您应该确定是否将其作为UI属性的一部分,但这会导致事件内部值的重复(内部+自定义)...

Also, you can try to submit authenticated user as a custom property on the event instead of (in addition to) the embedded property, in this case you should definitely see if as part of the properties in UI but this leads to a duplication of the value inside the event (internal + custom)...

这篇关于在应用程序Insight的指标中显示用户ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆