Created
October 25, 2018 15:31
-
-
Save fvztdk/836e3baeb0bcf536a3f933717d1c07fb to your computer and use it in GitHub Desktop.
get traces of request with 500 error (Azure Log Analytics)
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
let start=datetime("2018-10-25T06:00:00.000Z"); | |
let end=datetime("2018-10-25T14:00:00.000Z"); | |
requests | where timestamp > start and timestamp < end | |
| where success == false and resultCode == "500" | |
| where url contains "your_service_path" | |
|join (traces | |
| where message contains "REQUEST: {" | |
) on $left.id == $right.operation_Id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment