我正在使用与应用程序见解集成的 azure 函数。从 application Insights 导出数据时,我只能看到 1898 条记录。如何在不创建azure data explorer集群的情况下获得导出到excel的完整日志信息数据(我没有创建它的权限)
最佳答案
您可以通过在 Function App
的 Application Insights 日志中运行 kql
查询来实现此目的
从 Azure 门户,
转到函数应用 -> ApplicationInsights -> 日志
和
执行以下Kql查询:
union
availabilityResults,
requests,
exceptions,
pageViews,
traces,
customEvents,
dependencies
| where timestamp > datetime("2022-10-14T12:02:57.123Z") and timestamp < datetime("2022-10-15T12:02:57.123Z")
| order by timestamp desc
来自 Application Insights 的日志信息:
关于azure - 无法从应用程序见解导出完整日志信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74074193/