Skip to content

Commit a4d7118

Browse files
committed
first pass
1 parent ad8c359 commit a4d7118

File tree

4 files changed

+39
-36
lines changed

4 files changed

+39
-36
lines changed

articles/notification-hubs/TOC.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@
158158
href: notification-hubs-baidu-china-android-notifications-get-started.md
159159
- name: Use APNS VOIP through Notification Hubs
160160
href: voip-apns.md
161-
- name: Enable diagnostic logs for Notification Hubs
161+
- name: Monitor
162+
href: monitor-notification-hubs.md
163+
- name: Diagnostic logs
162164
href: notification-hubs-diagnostic-logs.md
163165
- name: Reference
164166
items:
@@ -172,6 +174,8 @@
172174
href: /rest/api/notificationhubs/
173175
- name: Resource Manager template
174176
href: /azure/templates/microsoft.notificationhubs/allversions
177+
- name: Monitoring data reference
178+
href: monitor-notification-hubs-reference.md
175179
- name: Resources
176180
items:
177181
- name: FAQ

articles/notification-hubs/monitor-notification-hubs-reference.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,31 @@ The following table lists the metrics available for the Microsoft.NotificationHu
3535
[!INCLUDE [Microsoft.NotificationHubs/namespaces/notificationHubs](~/azure-reference-other-repo/azure-monitor-ref/supported-logs/includes/microsoft-notificationhubs-namespaces-notificationhubs-logs-include.md)]
3636

3737
[!INCLUDE [horz-monitor-ref-logs-tables](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)]
38+
<!-- No table(s) at https://learn.microsoft.com/azure/azure-monitor/reference/tables/tables-resourcetype. -->
3839

39-
<!-- Find the table(s) for your service at https://learn.microsoft.com/azure/azure-monitor/reference/tables/tables-resourcetype. These files are auto generated from the REST API. -->
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:
4041

41-
### Notification Hubs
42-
<ResourceType/namespace>
43-
- [TableName](/azure/azure-monitor/reference/tables/tablename#columns)
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+
- **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.
44+
45+
Diagnostic log JSON strings include the elements listed in the following table:
46+
47+
| Name | Description |
48+
| ------- | ------- |
49+
| time | UTC timestamp of the log |
50+
| resourceId | Relative path to the Azure resource |
51+
| operationName | Name of the management operation |
52+
| category | Log category. Valid values: `OperationalLogs` |
53+
| callerIdentity | Identity of the caller who initiated the management operation |
54+
| resultType | Status of the management operation. Valid values: `Succeeded` or `Failed` |
55+
| resultDescription | Description of the management operation |
56+
| correlationId | Correlation ID of the management operation (if specified) |
57+
| callerIpAddress | The caller IP address. Empty for calls that originated from the Azure portal |
4458

4559
[!INCLUDE [horz-monitor-ref-activity-log](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-activity-log.md)]
60+
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. The following management operations are captured in operational logs:
62+
4663
- [Microsoft.NotificationHubs resource provider operations](/azure/role-based-access-control/permissions/integration#microsoftnotificationhubs)
4764

4865
## Related content

articles/notification-hubs/monitor-notification-hubs.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ For a list of available metrics for Notification Hubs, see [Notification Hubs mo
2525

2626
[!INCLUDE [horz-monitor-resource-logs](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-logs.md)]
2727

28-
For the available resource log categories, their associated Log Analytics tables, and the logs schemas for Notification Hubs, see [Notification Hubs monitoring data reference](monitor-notification-hubs-reference.md#resource-logs).
28+
Azure Notification Hubs supports activity and operational logs, which capture management operations that are performed on the Notification Hubs namespace.
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).
31+
32+
- 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).
2933

3034
[!INCLUDE [horz-monitor-activity-log](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-activity-log.md)]
3135

articles/notification-hubs/notification-hubs-diagnostic-logs.md

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ For calls originating from the Azure portal the `identity` field is empty. The l
6161
}
6262
```
6363

64-
For calls made through Azure Resource Manager the `identity` field will contain the username of the logged in user.
64+
For calls made through Azure Resource Manager the `identity` field contains the username of the logged in user.
6565

6666
```json
6767
{
@@ -70,7 +70,7 @@ For calls made through Azure Resource Manager the `identity` field will contain
7070
}
7171
```
7272

73-
For calls to the Notification Hubs REST API the `identity` field will contain the name of the access policy used to generate the SharedAccessSignature token.
73+
For calls to the Notification Hubs REST API the `identity` field contains the name of the access policy used to generate the SharedAccessSignature token.
7474

7575
```json
7676
{
@@ -81,33 +81,11 @@ For calls to the Notification Hubs REST API the `identity` field will contain th
8181

8282
## Events and operations captured in operational logs
8383

84-
Operational logs capture all management operations that are performed on the Azure Notification Hubs namespace. Data operations are not captured, because of the high volume of data operations that are conducted on Azure Notification Hubs.
85-
86-
The following management operations are captured in operational logs:
87-
88-
| Scope | Operation Name | Operation Description |
89-
| :-- | :-- | :-- |
90-
| Namespace | Microsoft.NotificationHubs/Namespaces/authorizationRules/action | List Authorization Rules |
91-
| Namespace | Microsoft.NotificationHubs/Namespaces/authorizationRules/delete | Delete Authorization Rule |
92-
| Namespace | Microsoft.NotificationHubs/Namespaces/authorizationRules/listkeys/action | List Keys |
93-
| Namespace | Microsoft.NotificationHubs/Namespaces/authorizationRules/read | Get Authorization Rule |
94-
| Namespace | Microsoft.NotificationHubs/Namespaces/authorizationRules/regenerateKeys/action | Regenerate Keys |
95-
| Namespace | Microsoft.NotificationHubs/Namespaces/authorizationRules/write | Create or Update Authorization Rule |
96-
| Namespace | Microsoft.NotificationHubs/Namespaces/delete | Delete Namespace |
97-
| Namespace | Microsoft.NotificationHubs/Namespaces/read | Get Namespace |
98-
| Namespace | Microsoft.NotificationHubs/Namespaces/write | Create or Update Namespace |
99-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/action | List Authorization Rules |
100-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/delete | Delete Authorization Rule |
101-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/listkeys/action | List Keys |
102-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/read | Read Authorization Rule |
103-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/regenerateKeys/action | Regenerate Keys |
104-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/write | Create or Update Authorization Rule |
105-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/delete | Delete Notification Hub |
106-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/pnsCredentials/action | Create, Update, or Get PNS Credentials |
107-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/read | Get Notification Hub |
108-
| Notification Hub | Microsoft.NotificationHubs/Namespaces/NotificationHubs/write | Create or Update Notification Hub |
109-
110-
## Enable operational logs
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+
86+
For a list of the management operations that are captured in operational logs, see [Activity log](monitor-notification-hubs-reference.md#activity-log).
87+
88+
### Enable operational logs
11189

11290
Operational logs are disabled by default. To enable logs, do the following:
11391

@@ -138,7 +116,7 @@ Operational logs are disabled by default. To enable logs, do the following:
138116

139117
The new settings take effect in about 10 minutes. The logs are displayed in the configured archival target, in the **Diagnostics logs** pane.
140118

141-
## Next steps
119+
## Related content
142120

143121
To learn more about configuring diagnostics settings, see:
144122
* [Overview of Azure diagnostics logs](../azure-monitor/essentials/platform-logs-overview.md).

0 commit comments

Comments
 (0)