Venkatesh N
Venkatesh N

Reputation: 47

Unable to export full log information from Applications insights

I'm using azure functions which is integrated with application insights. While exporting the data from application insights , I'm able to see only 1898 records. How do I get complete logging information data exported to excel without creating azure data explorer cluster (I don't have permissions to create it)

Upvotes: 0

Views: 333

Answers (1)

Jahnavi
Jahnavi

Reputation: 7898

You can achieve this by running a kql query in the logs of Application Insights from Function App

From the Azure Portal, Go to Function App -> ApplicationInsights -> Logs and

Execute the below Kql query:

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

Log information from Application Insights:

enter image description here

Refer: How to use Union Operator

Upvotes: 1

Related Questions