Query Details

App Traces App Service Failures

Query

AppTraces
| where SeverityLevel > 1
| extend
    Category = tostring(Properties["Category"]),
    LogLevel = tostring(Properties["LogLevel"])
| where not(Category == "Microsoft.Azure.WebJobs.Script.WebHost.WebScriptHostExceptionHandler")
| project TimeGenerated, AppRoleName, OperationName, SeverityLevel, LogLevel, Message, Properties, _ResourceId

Explanation

This query filters AppTraces data where SeverityLevel is greater than 1. It then creates new columns for Category and LogLevel from Properties, filters out a specific category, and finally selects specific columns for the output.

Details

Jose Sebastián Canós profile picture

Jose Sebastián Canós

Released: April 22, 2024

Tables

AppTraces

Keywords

AppTraces,SeverityLevel,Category,LogLevel,TimeGenerated,AppRoleName,OperationName,Message,Properties,_ResourceId

Operators

whereextendnotproject

Actions