Created
November 23, 2021 11:25
-
-
Save pacodelacruz/dd73c7b0284137cacfa80abdc87b8056 to your computer and use it in GitHub Desktop.
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 | |
| where customDimensions.EventName == "WorkflowTriggerEnd" | |
| where customDimensions.prop__status == "Failed" | |
| sort by timestamp desc | |
| extend properties = parse_json(tostring(customDimensions.prop__properties)) | |
| extend resource = parse_json(tostring(parse_json(tostring(customDimensions.prop__properties)).resource)) | |
| extend error = parse_json(tostring(customDimensions.prop__error)) | |
| sort by timestamp desc | |
| project timestamp | |
, LogicApp = tostring(cloud_RoleName) | |
, Workflow = tostring(resource.workflowName) | |
, WorkflowRunId = tostring(customDimensions.prop__clientTrackingId) | |
, TriggerStatusCode = properties.code | |
, ErrorCode = tostring(error.code) | |
, ErrorMessage = tostring(error.message) | |
, message | |
//| where LogicApp contains "" | |
//| where Workflow contains "" | |
//| where TriggerStatusCode == "" | |
//| where ErrorCode == "" | |
//| where ErrorMessage contains "" | |
//| where Message contains "" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment