AegPublishFailureLogs 數據表的查詢
如需在 Azure 入口網站 中使用這些查詢的詳細資訊,請參閱Log Analytics教學課程。 如需 REST API,請參閱 查詢。
依主題和錯誤發佈失敗
依主題名稱和錯誤訊息發佈失敗記錄。
AegPublishFailureLogs
| parse Message with * "), httpStatusCode=" HttpStatusCode "," * ", errorMessage=" ErrorMessage
| parse _ResourceId with * "/topics/" TopicName
| project TimeGenerated, _ResourceId, TopicName, TenantId, OperationName, HttpStatusCode, ErrorMessage
| summarize by _ResourceId, TopicName, HttpStatusCode, ErrorMessage
依主題和錯誤發佈失敗
依主題名稱和錯誤訊息發佈失敗記錄。
// To create an alert for this query, click '+ New alert rule'
AegPublishFailureLogs
| parse Message with * "), httpStatusCode=" HttpStatusCode "," * ", errorMessage=" ErrorMessage
| parse _ResourceId with * "/topics/" TopicName
| project TimeGenerated, _ResourceId, TopicName, TenantId, OperationName, HttpStatusCode, ErrorMessage
| summarize by _ResourceId, TopicName, HttpStatusCode, ErrorMessage
依網域和錯誤發佈失敗
依功能變數名稱和錯誤訊息發佈失敗記錄。
// To create an alert for this query, click '+ New alert rule'
AegPublishFailureLogs
| parse Message with * "), httpStatusCode=" HttpStatusCode "," * ", errorMessage=" ErrorMessage
| parse _ResourceId with * "/domains/" DomainName
| project TimeGenerated, _ResourceId, DomainName, TenantId, OperationName, HttpStatusCode, ErrorMessage
| summarize by _ResourceId, DomainName, HttpStatusCode, ErrorMessage