Created
August 19, 2019 08:11
-
-
Save binduchinnasamy/0b5bb59097479b9df2af894a616741ea to your computer and use it in GitHub Desktop.
Azure AppInsight query to get Azure function logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
traces | |
| project customDimensions, message, cloud_RoleName, cloud_RoleInstance, operation_Name, timestamp | |
| where message contains "<<error log or message >>" | |
| where cloud_RoleName =~ '<<Function App Name>>' and operation_Name == '<<Function name>>' | |
| where timestamp > ago(30m) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment