Kueri untuk tabel AegDeliveryFailureLogs
Untuk informasi tentang menggunakan kueri ini di portal Azure, lihat tutorial Analitik Log. Untuk REST API, lihat Kueri.
Kegagalan pengiriman berdasarkan topik dan kesalahan
Log kegagalan pengiriman berdasarkan nama topik dan pesan kesalahan.
AegDeliveryFailureLogs
| parse Message with * ", httpStatusCode=" HttpStatusCode "," * "., errorMessage=" ErrorMessage "," *
| parse _ResourceId with * "/topics/" TopicName
| summarize by _ResourceId, TopicName, ErrorMessage
Kegagalan pengiriman berdasarkan topik dan kesalahan
Log kegagalan pengiriman berdasarkan nama topik dan pesan kesalahan.
// To create an alert for this query, click '+ New alert rule'
AegDeliveryFailureLogs
| parse Message with * ", httpStatusCode=" HttpStatusCode "," * "., errorMessage=" ErrorMessage "," *
| parse _ResourceId with * "/topics/" TopicName
| summarize by _ResourceId, TopicName, ErrorMessage
Kegagalan pengiriman berdasarkan domain dan kesalahan
Log kegagalan pengiriman berdasarkan nama domain dan pesan kesalahan.
// To create an alert for this query, click '+ New alert rule'
AegDeliveryFailureLogs
| parse Message with * ", httpStatusCode=" HttpStatusCode "," * "., errorMessage=" ErrorMessage "," *
| parse _ResourceId with * "/domains/" DomainName
| project TimeGenerated, _ResourceId, DomainName, TenantId, EventSubscriptionName, SubResourceName, OperationName, HttpStatusCode, ErrorMessage
| summarize by _ResourceId, DomainName, SubResourceName, EventSubscriptionName, ErrorMessage
Latensi Pengiriman Rata-Rata Topik
Latensi Pengiriman Rata-rata dirangkum oleh Topik, Langganan Peristiwa.
AegDeliveryFailureLogs
| parse _ResourceId with * "/topics/" TopicName
| where TopicName!= "" // and TopicName == "YOUR_TOPIC_NAME"
| parse Message with * ", latencyInMs=" LatencyInMilliSecond "," *
| summarize AverageDeliveryLatencyInMs = avg(todouble(LatencyInMilliSecond)) by TopicName, EventSubscriptionName
// Uncomment to filter for a specific Topic Name
Latensi Pengiriman Rata-Rata Domain
Latensi Pengiriman Rata-rata dirangkum oleh Domain, Langganan Peristiwa, dan SubResourceName.
AegDeliveryFailureLogs
| parse _ResourceId with * "/domains/" DomainName
| where DomainName != "" // and DomainName == "YOUR_DOMAIN_NAME"
| parse Message with * ", latencyInMs=" LatencyInMilliSecond "," *
| summarize AverageDeliveryLatencyInMs = avg(todouble(LatencyInMilliSecond)) by DomainName, EventSubscriptionName, SubResourceName
// Uncomment to filter by a specific Domain Name