diff --git a/Workbooks/Communication Services/Email_Insights/Email_Insights.workbook b/Workbooks/Communication Services/Email_Insights/Email_Insights.workbook index fd36b1caf..e32dcff70 100644 --- a/Workbooks/Communication Services/Email_Insights/Email_Insights.workbook +++ b/Workbooks/Communication Services/Email_Insights/Email_Insights.workbook @@ -351,6 +351,7 @@ "version": "KqlItem/1.0", "query": "let all = ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| project DeliveryStatus, ts=bin(TimeGenerated, iif(\"{email_time_bucket:label}\" == \"\", 4h, totimespan(\"{email_time_bucket:value}\")));\r\nall | summarize \r\n total=count(),\r\n success=countif(DeliveryStatus == \"Delivered\"),\r\n failures=countif(DeliveryStatus != \"Delivered\")\r\n by ts", "size": 0, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "timeContextFromParameter": "email_time", "queryType": 0, "resourceType": "microsoft.communication/communicationservices", @@ -646,6 +647,7 @@ "version": "KqlItem/1.0", "query": "ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| extend ts=bin(TimeGenerated, iif(\"{email_time_bucket:label}\" == \"\", 4h, totimespan(\"{email_time_bucket:value}\")))\r\n| summarize successRate=((countif(DeliveryStatus == \"Delivered\") * 100.0)/count()) by ts;", "size": 1, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "aggregation": 3, "title": "Delivery Success Rate", "timeContextFromParameter": "email_time", @@ -736,6 +738,7 @@ "content": { "version": "KqlItem/1.0", "query": "let cvids = ACSEmailStatusUpdateOperational\r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| summarize by CorrelationId;\r\nACSEmailSendMailOperational\r\n| join cvids on CorrelationId\r\n| extend sizeForAllRecipients=(Size * UniqueRecipientsCount)\r\n| summarize sizeForAllRecipients=sum(sizeForAllRecipients) by bin(TimeGenerated, iif(\"{email_time_bucket:label}\" == \"\", 4h, totimespan(\"{email_time_bucket:value}\")))", + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "size": 0, "title": "Total Size For Emails Sent", "timeContextFromParameter": "email_time", @@ -808,6 +811,7 @@ "content": { "version": "KqlItem/1.0", "query": "let cvids = ACSEmailStatusUpdateOperational\r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| summarize by CorrelationId;\r\nACSEmailSendMailOperational\r\n| join cvids on CorrelationId\r\n| extend sizeForAllRecipients=(Size * UniqueRecipientsCount)\r\n| summarize totalMessages=dcount(CorrelationId) by bin(TimeGenerated, iif(\"{email_time_bucket:label}\" == \"\", 4h, totimespan(\"{email_time_bucket:value}\")))", + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "size": 0, "title": "Total Emails Sent", "timeContextFromParameter": "email_time", @@ -882,6 +886,7 @@ "version": "KqlItem/1.0", "query": " ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\" and DeliveryStatus != \"Delivered\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| summarize value=count() by DeliveryStatus=iff(DeliveryStatus != \"Failed\", DeliveryStatus, iff(tobool(IsHardBounce), \"Failed (hard bounce)\", \"Failed\")), ts=bin(TimeGenerated, 5m)", "size": 3, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "title": "Error Summary", "color": "blueDarkDark", "timeContextFromParameter": "email_time", @@ -911,6 +916,7 @@ "version": "KqlItem/1.0", "query": " ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus !in (\"Delivered\", \"OutForDelivery\")\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| summarize value=count() by SmtpStatusCode, EnhancedSmtpStatusCode", "size": 1, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "title": "Error Code Details", "color": "blueDarkDark", "timeContextFromParameter": "email_time", @@ -958,6 +964,7 @@ "version": "KqlItem/1.0", "query": "ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| project Id=CorrelationId, [\"Mail To Address\"]=RecipientId, [\"Mail From Address\"]=strcat(SenderUsername, \"@\", SenderDomain), DeliveryStatus, Status=iff(DeliveryStatus == \"Delivered\", \"success\", \"error\"), [\"Date Sent\"]=TimeGenerated", "size": 0, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "title": "Per-recipient Delivery Details", "timeContextFromParameter": "email_time", "queryType": 0, diff --git a/Workbooks/Communication Services/Overview/Overview.workbook b/Workbooks/Communication Services/Overview/Overview.workbook index 96ffef883..95acd62ed 100644 --- a/Workbooks/Communication Services/Overview/Overview.workbook +++ b/Workbooks/Communication Services/Overview/Overview.workbook @@ -3590,6 +3590,7 @@ "version": "KqlItem/1.0", "query": "let all = ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| project DeliveryStatus, ts=bin(TimeGenerated, iif(\"{time_granularity:label}\" == \"\", 4h, totimespan(\"{time_granularity:value}\")));\r\nall | summarize \r\n total=count(),\r\n success=countif(DeliveryStatus == \"Delivered\"),\r\n failures=countif(DeliveryStatus != \"Delivered\")\r\n by ts", "size": 0, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "timeContextFromParameter": "time_range", "queryType": 0, "resourceType": "microsoft.communication/communicationservices", @@ -3885,6 +3886,7 @@ "version": "KqlItem/1.0", "query": "ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| extend ts=bin(TimeGenerated, iif(\"{time_granularity:label}\" == \"\", 4h, totimespan(\"{time_granularity:value}\")))\r\n| summarize successRate=((countif(DeliveryStatus == \"Delivered\") * 100.0)/count()) by ts;", "size": 1, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "aggregation": 3, "title": "Delivery Success Rate", "timeContextFromParameter": "time_range", @@ -3976,6 +3978,7 @@ "version": "KqlItem/1.0", "query": "let cvids = ACSEmailStatusUpdateOperational\r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| summarize by CorrelationId;\r\nACSEmailSendMailOperational\r\n| join cvids on CorrelationId\r\n| extend sizeForAllRecipients=(Size * UniqueRecipientsCount)\r\n| summarize sizeForAllRecipients=sum(sizeForAllRecipients) by bin(TimeGenerated, iif(\"{time_granularity:label}\" == \"\", 4h, totimespan(\"{time_granularity:value}\")))", "size": 0, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "title": "Total Size For Emails Sent", "timeContextFromParameter": "time_range", "queryType": 0, @@ -4048,6 +4051,7 @@ "version": "KqlItem/1.0", "query": "let cvids = ACSEmailStatusUpdateOperational\r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| summarize by CorrelationId;\r\nACSEmailSendMailOperational\r\n| join cvids on CorrelationId\r\n| extend sizeForAllRecipients=(Size * UniqueRecipientsCount)\r\n| summarize totalMessages=dcount(CorrelationId) by bin(TimeGenerated, iif(\"{time_granularity:label}\" == \"\", 4h, totimespan(\"{time_granularity:value}\")))", "size": 0, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "title": "Total Emails Sent", "timeContextFromParameter": "time_range", "queryType": 0, @@ -4121,6 +4125,7 @@ "version": "KqlItem/1.0", "query": " ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\" and DeliveryStatus != \"Delivered\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| summarize value=count() by DeliveryStatus=iff(DeliveryStatus != \"Failed\", DeliveryStatus, iff(tobool(IsHardBounce), \"Failed (hard bounce)\", \"Failed\")), ts=bin(TimeGenerated, 5m)", "size": 3, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "title": "Error Summary", "color": "blueDarkDark", "timeContextFromParameter": "time_range", @@ -4150,6 +4155,7 @@ "version": "KqlItem/1.0", "query": " ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus !in (\"Delivered\", \"OutForDelivery\")\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| summarize value=count() by SmtpStatusCode, EnhancedSmtpStatusCode", "size": 1, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "title": "Error Code Details", "color": "blueDarkDark", "timeContextFromParameter": "email_time", @@ -4197,6 +4203,7 @@ "version": "KqlItem/1.0", "query": "ACSEmailStatusUpdateOperational \r\n| where OperationName == \"DeliveryStatusUpdate\" and isnotempty(DeliveryStatus) and DeliveryStatus != \"OutForDelivery\"\r\n| where ('{email_mailfrom:value}' == \"All senders\") or (strcat(SenderUsername, '@', SenderDomain) == '{email_mailfrom:value}')\r\n| project Id=CorrelationId, [\"Mail To Address\"]=RecipientId, [\"Mail From Address\"]=strcat(SenderUsername, \"@\", SenderDomain), DeliveryStatus, Status=iff(DeliveryStatus == \"Delivered\", \"success\", \"error\"), [\"Date Sent\"]=TimeGenerated", "size": 0, + "noDataMessage": "This view requires to enable the Diagnostic setting as a pre-requisite. Please follow the instructions on this page to do so: https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/enable-logging. Make sure to select these logs: \"Email Service Delivery Status Update Logs\", \"Email Service Send Mail logs\", \"Email Service User Engagement Logs\".", "title": "Per-recipient Delivery Details", "timeContextFromParameter": "time_range", "queryType": 0,