You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- No table(s) at https://learn.microsoft.com/azure/azure-monitor/reference/tables/tables-resourcetype. -->
39
39
40
-
Azure Notification Hubs supports activity and operational logs, which capture management operations that are performed on the Notification Hubs namespace. All logs are stored in JavaScript Object Notation (JSON) format in the following two locations:
40
+
Azure Notification Hubs supports operational logs, which capture management operations that are performed on the Notification Hubs namespace. All logs are stored in JavaScript Object Notation (JSON) format in the following two locations:
41
41
42
42
-**AzureActivity**: Displays logs from operations and actions that are conducted against the namespace in the Azure portal or through Azure Resource Manager template deployments.
43
43
-**AzureDiagnostics**: Displays logs from operations and actions that are conducted against the namespace by using the API, or through management clients on the language SDK.
@@ -58,9 +58,9 @@ Diagnostic log JSON strings include the elements listed in the following table:
Operational logs capture all management operations that are performed on the Azure Notification Hubs namespace. Data operations aren't captured, because of the high volume of data operations that are conducted on notification hubs. The following management operations are captured in operational logs:
61
+
Operational logs capture all management operations that are performed on the Azure Notification Hubs namespace. Data operations aren't captured, because of the high volume of data operations that are conducted on notification hubs.
[Microsoft.NotificationHubs resource provider operations](/azure/role-based-access-control/permissions/integration#microsoftnotificationhubs) lists all the management operations that are captured in operational logs.
Azure Notification Hubs supports activity and operational logs, which capture management operations that are performed on the Notification Hubs namespace.
28
+
Notification Hubs supports activity and operational logs, which capture management operations that are performed on the Notification Hubs namespace. Data operations aren't captured, because of the high volume of data operations that are conducted on notification hubs.
29
29
30
-
- For details about where the logs are stored, the logs schema, and how to enable operational logs, see [Notification Hubs diagnostics logs](notification-hubs-diagnostic-logs.md).
30
+
You can archive the diagnostic logs to a storage account or stream them to an event hub. Sending the logs to a Log Analytics workspace currently isn't supported.
31
+
32
+
- For more details about the logs and how to enable log collection, see [Enable diagnostics logs for Notification Hubs](notification-hubs-diagnostic-logs.md).
31
33
32
34
- For the available resource log categories, associated Log Analytics tables, and the management operations captured in operational logs, see [Notification Hubs monitoring data reference](monitor-notification-hubs-reference.md#resource-logs).
The [Notification Hubs REST APIs](/rest/api/notificationhubs) fall into the following categories:
41
+
42
+
-**Azure Resource Manager:** APIs that perform Resource Manager operations, and have `/providers/Microsoft.NotificationHubs/` as part of the request URI.
43
+
-**Notification Hubs service:** APIs that enable operations directly on the Notification Hubs service, and have `<namespaceName>.servicebus.windows.net/` in the request URI.
44
+
45
+
The [Get notification message telemetry](/rest/api/notificationhubs/get-notification-message-telemetry) API helps monitor push notifications sent from a hub by providing more telemetry on the finished states of outgoing push notifications. The Notification ID that this API uses can be retrieved from the HTTP Location header included in the response of the REST API used to send the notification.
The following table lists some suggested alert rules for Notification Hubs. These alerts are just examples. You can set alerts for any metric, log entry, or activity log entry that's listed in the [Notification Hubs monitoring data reference](monitor-notification-hubs-reference.md).
49
80
50
-
| Alert type | Condition | Description |
81
+
| Alert type | Condition | Description |
51
82
|:---|:---|:---|
52
-
||||
53
-
||||
83
+
|Platform metric | Payload Errors | Whenever the count of pushes that failed because the push notification service (PNS) returned a bad payload error is greater than a dynamic threshold|
84
+
|Activity log | Delete Namespace (Namespace) | Whenever the Activity Log has an event with Category='Administrative', Signal name='Delete Namespace (Namespace)'|
Copy file name to clipboardExpand all lines: articles/notification-hubs/notification-hubs-diagnostic-logs.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: Azure Notification Hubs diagnostics logs | Microsoft Docs
3
-
description: This article provides an overview of all the operational and diagnostics logs that are available for Azure Notification Hubs.
3
+
description: Learn about the operational and diagnostics logs that are available for Azure Notification Hubs, and how to enable diagnostic logging.
4
4
author: sethmanheim
5
5
ms.author: sethm
6
6
ms.service: notification-hubs
7
7
ms.topic: article
8
-
ms.date: 10/23/2023
8
+
ms.date: 03/12/2024
9
9
---
10
10
11
11
# Enable diagnostics logs for Notification Hubs
@@ -83,7 +83,7 @@ For calls to the Notification Hubs REST API the `identity` field contains the na
83
83
84
84
Operational logs capture all management operations that are performed on the Azure Notification Hubs namespace. Data operations aren't captured, because of the high volume of data operations that are conducted on notification hubs.
85
85
86
-
For a list of the management operations that are captured in operational logs, see [Activity log](monitor-notification-hubs-reference.md#activity-log).
86
+
For a list of the management operations that are captured in operational logs, see [Microsoft.NotificationHubs resource provider operations](/azure/role-based-access-control/permissions/integration#microsoftnotificationhubs).
87
87
88
88
### Enable operational logs
89
89
@@ -93,7 +93,7 @@ Operational logs are disabled by default. To enable logs, do the following:
0 commit comments