【发布时间】:2019-10-25 05:30:58
【问题描述】:
2021 年 7 月 13 日更新
下面使用的链接现已部分过时。这是new section on language differences。
原帖
在 Azure 门户上,在我的 App Insights / Logs 视图中,我可以像这样查询应用数据:
app('my-app-name').traces
app 函数在文章app() expression in Azure Monitor query 中有描述。
Kusto.Explorer 不理解 app() 函数,这似乎可以通过它是 Additional operators in Azure Monitor 之一这一事实来解释。
如何使用 Kusto.Explorer 查询我的 App Insights/日志?我不能使用cluster,因为它是functions not supported in Azure Monitor 之一。
相关文档:Azure Monitor log query language differences
连接问题排查说明
(2021 年 12 月 16 日添加)
来自 Kusto 团队的专业提示:
如果您从 Kusto.Explorer 查询应用程序洞察,并且您与正常集群的连接因网关错误或其他意外错误而失败,请考虑将 hint.remote=left 添加到您的 join。喜欢:
tableFromApplicationInsights
| join kind=innerunique hint.remote=left tableFromNormalKustoCluster
【问题讨论】:
标签: azure azure-application-insights azure-data-explorer azure-log-analytics kql