Queries for the AZMSDiagnosticErrorLogs table

For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.

Publish detailed error logs

Publish detailed error logs for diagnostics.

AZMSDiagnosticErrorLogs
| where Provider =~ "EventHub"
| project  ActivityName, _ResourceId, OperationResult,ErrorMessage
| summarize by ActivityName

Publish detailed error logs

Publish detailed error logs for diagnostics.

AZMSDiagnosticErrorLogs
| where Provider =~ "ServiceBus"
| project  ActivityName, _ResourceId, OperationResult,ErrorMessage
| summarize by ActivityName