azure - 无法从应用程序见解导出完整日志信息

标签 azure azure-functions azure-application-insights

我正在使用与应用程序见解集成的 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 的日志信息:

enter image description here

Refer: How to use Union Operator

关于azure - 无法从应用程序见解导出完整日志信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74074193/

相关文章:

azure - 无法使用 terraform/programmatic 将 Azure Key Vault 与 databrick 集成

Azure函数: Could not load file or assembly Microsoft. IdentityModel.Tokens,版本=5.2.1.0

azure - 如何在完成 X 个其他 Azure 函数后触发 Azure 函数?

Azure:从 MySQL 数据库创建 O365 事件

azure - 应用洞察 : Disable SQL Dependency telemetry

azure - 将数据从 TFS 2015 导入到 Visual Studio Team Services?

Azure 缓存 - "server collection cannot be empty"

azure - 上传的证书在多个 Azure Web 应用程序中可见

c# - Azure App Insights API 在 C# 中使用查询获取跟踪

用于容器的 Azure 监视器与应用程序洞察