Skip to content

Commit b29e713

Browse files
Merge pull request #6 from TimShererWithAquent/us248136f-1
Additional edits.
2 parents 95d4745 + 8281091 commit b29e713

File tree

2 files changed

+9
-72
lines changed

2 files changed

+9
-72
lines changed

articles/iot-hub/monitor-iot-hub-reference.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,6 @@ ms.author: kgremban
99
ms.service: iot-hub
1010
---
1111

12-
<!--
13-
IMPORTANT
14-
According to the Content Pattern guidelines all comments must be removed before publication!!!
15-
To make this template easier to use, first:
16-
1. Search and replace [TODO-replace-with-service-name] with the official name of your service.
17-
2. Search and replace [TODO-replace-with-service-filename] with the service name to use in GitHub filenames.-->
18-
19-
<!-- VERSION 3.0 2024_01_01
20-
For background about this template, see https://review.learn.microsoft.com/en-us/help/contribute/contribute-monitoring?branch=main -->
21-
22-
<!-- All sections are required unless otherwise noted. Add service-specific information after the includes.
23-
Your service should have the following two articles:
24-
1. The primary monitoring article (based on the template monitor-service-template.md)
25-
- Title: "Monitor [TODO-replace-with-service-name]"
26-
- TOC title: "Monitor"
27-
- Filename: "monitor-[TODO-replace-with-service-filename].md"
28-
2. A reference article that lists all the metrics and logs for your service (based on this template).
29-
- Title: "[TODO-replace-with-service-name] monitoring data reference"
30-
- TOC title: "Monitoring data reference"
31-
- Filename: "monitor-[TODO-replace-with-service-filename]-reference.md".
32-
-->
33-
3412
# Azure IoT Hub monitoring data reference
3513

3614
[!INCLUDE [horz-monitor-ref-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-intro.md)]

articles/iot-hub/monitor-iot-hub.md

Lines changed: 9 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,6 @@ ms.author: kgremban
99
ms.service: iot-hub
1010
---
1111

12-
<!--
13-
According to the Content Pattern guidelines all comments must be removed before publication!!!
14-
IMPORTANT
15-
To make this template easier to use, first:
16-
1. Search and replace [TODO-replace-with-service-name] with the official name of your service.
17-
2. Search and replace [TODO-replace-with-service-filename] with the service name to use in GitHub filenames.-->
18-
19-
<!-- VERSION 3.0 2024_01_07
20-
For background about this template, see https://review.learn.microsoft.com/en-us/help/contribute/contribute-monitoring?branch=main -->
21-
22-
<!-- All sections are required unless otherwise noted. Add service-specific information after the includes.
23-
Your service should have the following two articles:
24-
1. The overview monitoring article (based on this template)
25-
- Title: "Monitor [TODO-replace-with-service-name]"
26-
- TOC title: "Monitor"
27-
- Filename: "monitor-[TODO-replace-with-service-filename].md"
28-
2. A reference article that lists all the metrics and logs for your service (based on the template data-reference-template.md).
29-
- Title: "[TODO-replace-with-service-name] monitoring data reference"
30-
- TOC title: "Monitoring data reference"
31-
- Filename: "monitor-[TODO-replace-with-service-filename]-reference.md".
32-
-->
33-
3412
# Monitor Azure IoT Hub
3513

3614
[!INCLUDE [horz-monitor-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-intro.md)]
@@ -56,18 +34,15 @@ With Event Grid, you can subscribe to the IoT Hub [**DeviceConnected** and **Dev
5634

5735
For more information about monitoring device connectivity with Event Grid and Azure Monitor, see [Monitor, diagnose, and troubleshoot device connectivity to Azure IoT Hub](iot-hub-troubleshoot-connectivity.md).
5836

59-
## Collection and routing
37+
[!INCLUDE [horz-monitor-resource-types](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-types.md)]
6038

61-
Platform metrics, the Activity log, and resource logs have unique collection, storage, and routing specifications.
39+
For more information about the resource types for IoT Hub, see [Azure IoT Hub monitoring data reference](monitor-iot-hub-reference.md).
6240

63-
- Platform metrics and the Activity log are collected and stored automatically, but can be routed to other locations by using a diagnostic setting.
41+
[!INCLUDE [horz-monitor-data-storage](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-data-storage.md)]
6442

65-
- Resource logs aren't collected and stored until you create a diagnostic setting and route them to one or more locations.
43+
### Collection and routing
6644

67-
- Metrics and logs can be routed to several locations including:
68-
- The Azure Monitor Logs store via an associated Log Analytics workspace. There they can be analyzed using Log Analytics.
69-
- Azure Storage for archiving and offline analysis
70-
- An Event Hubs endpoint where external applications can read them, for example, partner security information and event management (SIEM) tools.
45+
Platform metrics, the Activity log, and resource logs have unique collection, storage, and routing specifications.
7146

7247
In the Azure portal from your IoT hub under **Monitoring**, you can select **Diagnostic settings** followed by **Add diagnostic setting** to create diagnostic settings scoped to the logs and platform metrics emitted by your IoT hub.
7348

@@ -81,16 +56,10 @@ For more information on creating a diagnostic setting using the Azure portal, CL
8156

8257
When routing IoT Hub platform metrics to other locations:
8358

84-
- These platform metrics aren't exportable via diagnostic settings: *Connected devices* and *Total devices*.
59+
- These platform metrics aren't exportable by using diagnostic settings: *Connected devices* and *Total devices*.
8560

8661
- Multi-dimensional metrics, for example some [routing metrics](monitor-iot-hub-reference.md#routing-metrics), are currently exported as flattened single dimensional metrics aggregated across dimension values. For more information, see [Exporting platform metrics to other locations](../azure-monitor/essentials/metrics-supported.md#exporting-platform-metrics-to-other-locations).
8762

88-
[!INCLUDE [horz-monitor-resource-types](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-types.md)]
89-
90-
For more information about the resource types for IoT Hub, see [Azure IoT Hub monitoring data reference](monitor-iot-hub-reference.md).
91-
92-
[!INCLUDE [horz-monitor-data-storage](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-data-storage.md)]
93-
9463
[!INCLUDE [horz-monitor-platform-metrics](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-platform-metrics.md)]
9564

9665
You can analyze metrics for Azure IoT Hub with metrics from other Azure services using metrics explorer. For more information on this tool, see [Analyze metrics with Azure Monitor metrics explorer](../azure-monitor/essentials/analyze-metrics.md).
@@ -105,15 +74,10 @@ For IoT Hub platform metrics that are collected in units of count, some aggregat
10574

10675
Some IoT Hub metrics, like [routing metrics](monitor-iot-hub-reference.md#routing-metrics), are multi-dimensional. For these metrics, you can apply [filters](../azure-monitor/essentials/metrics-charts.md#filters) and [splitting](../azure-monitor/essentials/metrics-charts.md#apply-splitting) to your charts based on a dimension.
10776

108-
For a list of available metrics for IoT Hub, see [Azure IoT Hub monitoring data reference](monitor-iot-hub-reference.md#metrics).
109-
110-
11177
<!-- ## OPTIONAL [TODO-replace-with-service-name] metrics
11278
If your service uses any non-Azure Monitor based metrics, add the following include and more information.
11379
[!INCLUDE [horz-monitor-custom-metrics](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-non-monitor-metrics.md)] -->
11480

115-
<!-- ## Azure Monitor resource logs -->
116-
11781
[!INCLUDE [horz-monitor-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-logs.md)]
11882

11983
### Analyzing logs
@@ -134,7 +98,7 @@ The [Activity log](../azure-monitor/essentials/activity-log.md) is a platform lo
13498

13599
When routing IoT Hub platform metrics to Azure Monitor Logs:
136100

137-
- The following platform metrics aren't exportable via diagnostic settings: *Connected devices* and *Total devices*.
101+
- The following platform metrics aren't exportable by using diagnostic settings: *Connected devices* and *Total devices*.
138102

139103
- Multi-dimensional metrics, for example some [routing metrics](monitor-iot-hub-reference.md#routing-metrics), are currently exported as flattened single dimensional metrics aggregated across dimension values. For more detail, see [Exporting platform metrics to other locations](../azure-monitor/essentials/metrics-supported.md#exporting-platform-metrics-to-other-locations).
140104

@@ -260,12 +224,7 @@ For the available resource log categories, their associated Log Analytics tables
260224

261225
[!INCLUDE [horz-monitor-kusto-queries](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-kusto-queries.md)]
262226

263-
### Sample Kusto queries
264-
265-
Use the following [Kusto](/azure/data-explorer/kusto/query/) queries to help you monitor your IoT hub.
266-
267-
> [!IMPORTANT]
268-
> Selecting **Logs** from the **IoT Hub** menu opens **Log Analytics** and includes data solely from your IoT hub resource. For queries that include data from other IoT hubs or Azure services, select **Logs** from the [**Azure Monitor** menu](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/logs). For more information, see [Log query scope and time range in Azure Monitor Log Analytics](../azure-monitor/logs/scope.md).
227+
Use the following Kusto queries to help you monitor your IoT hub.
269228

270229
- **Connectivity Errors**: Identify device connection errors.
271230

@@ -356,4 +315,4 @@ The following table lists some suggested alert rules for IoT Hub. These alerts a
356315
357316
- See [Azure IoT Hub monitoring data reference](monitor-iot-hub-reference.md) for a reference of the metrics, logs, and other important values created for IoT Hub.
358317
- See [Monitoring Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for general details on monitoring Azure resources.
359-
- See [Monitor, diagnose, and troubleshoot device connectivity to Azure IoT Hub](iot-hub-troubleshoot-connectivity.md)for monitoring device connectivity.
318+
- See [Monitor, diagnose, and troubleshoot device connectivity to Azure IoT Hub](iot-hub-troubleshoot-connectivity.md) for monitoring device connectivity.

0 commit comments

Comments
 (0)