Application Insights - 不同的用户和他们上次访问网站的时间

Application Insights - Distinct Users and the last time they visited the site

是否有可以 运行 查找不同用户以及他们上次在 Application Insights 上访问您的应用程序的查询? 运行 pageViews 查询中的不同用户仅显示不同用户,但不显示时间戳列。

查看屏幕截图以转到 Application Insights 资源上的日志查询视图。 pageViews table 中有一个时间戳列,您可以查询该列以了解用户上次访问的时间。

在你提供的查询pageViews | distinct users中,我不知道users这个字段是从哪里来的,因为我的pageViewstable中没有这个字段.

所以我在查询中使用了 user_Id 而不是 users。查询如下:

pageViews 
| project user_Id , timestamp
| summarize max(timestamp) by user_Id 

测试结果: