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