Query's voor de tabel AegPublishFailureLogs
Zie de zelfstudie over Log Analytics voor meer informatie over het gebruik van deze query's in Azure Portal. Zie Query voor de REST API.
Fouten publiceren per onderwerp en fout
Logboeken met fouten publiceren op onderwerpnaam en foutbericht.
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
Fouten publiceren per onderwerp en fout
Logboeken met fouten publiceren op onderwerpnaam en foutbericht.
// 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
Fouten publiceren per domein en fout
Logboeken met fouten publiceren op domeinnaam en foutbericht.
// 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