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
@@ -56,18 +34,15 @@ With Event Grid, you can subscribe to the IoT Hub [**DeviceConnected** and **Dev
56
34
57
35
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).
- 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
66
44
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.
71
46
72
47
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.
73
48
@@ -81,16 +56,10 @@ For more information on creating a diagnostic setting using the Azure portal, CL
81
56
82
57
When routing IoT Hub platform metrics to other locations:
83
58
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*.
85
60
86
61
- 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).
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
105
74
106
75
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.
107
76
108
-
For a list of available metrics for IoT Hub, see [Azure IoT Hub monitoring data reference](monitor-iot-hub-reference.md#metrics).
@@ -134,7 +98,7 @@ The [Activity log](../azure-monitor/essentials/activity-log.md) is a platform lo
134
98
135
99
When routing IoT Hub platform metrics to Azure Monitor Logs:
136
100
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*.
138
102
139
103
- 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).
140
104
@@ -260,12 +224,7 @@ For the available resource log categories, their associated Log Analytics tables
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.
@@ -356,4 +315,4 @@ The following table lists some suggested alert rules for IoT Hub. These alerts a
356
315
357
316
- 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.
358
317
- 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