Skip to content

Commit abaa653

Browse files
Merge pull request #211018 from esha0611/release-device-update-refresh
Release device update refresh
2 parents d761cc2 + 8e879ce commit abaa653

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Monitoring Device Update for IoT Hub
3+
description: Start here to learn how to monitor Device Update for IoT Hub
4+
author: eshashah
5+
ms.author: eshashah
6+
ms.topic: conceptual
7+
ms.service: iot-hub
8+
ms.custom: subject-monitoring
9+
ms.date: 9/08/2022
10+
11+
---
12+
13+
# Monitoring Device Update for IoT Hub
14+
15+
When you have critical applications and business processes relying on Azure resources, you want to monitor those resources for their availability, performance, and operation.
16+
17+
This article describes the monitoring data generated by Device Update for IoT Hub (DU). Device Update uses [Azure Monitor](../azure-monitor/overview.md). If you are unfamiliar with the features of Azure Monitor common to all Azure services that use it, read [Monitoring Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md).
18+
19+
## Activity log Collection and Routing
20+
21+
The Activity log displays recent administrative activity for the device update account, instances, including any creation, updates, deletion and change in access permissions. Activity logs are collected and stored automatically, but can be routed to other locations by using a diagnostic setting.
22+
23+
In Azure portal, you can select **Activity Logs** in the Device Update account menu, and the **Time range** for which you want to see activity logs
24+
25+
To create a diagnostic setting to send it to a destination of your choice (Log Analytics workspace, storage account, Event Hub, etc.), select **Export Activity Logs** followed by **Add diagnostic setting** and scope it to the logs and platform metrics emitted by your account.
26+
27+
See [Create diagnostic setting to collect platform logs and metrics in Azure](../azure-monitor/essentials/diagnostic-settings.md) for the detailed process for creating a diagnostic setting using the Azure portal, CLI, or PowerShell. When you create a diagnostic setting, you specify which categories of logs to collect.
28+
29+
## Analyzing logs
30+
31+
Data in Azure Monitor Logs is stored in tables where each table has its own set of unique properties.
32+
33+
To route data to Azure Monitor Logs, you must create a diagnostic setting to send resource logs or platform metrics to a Log Analytics workspace.
34+
35+
In Azure portal, you can select **Logs** under **Monitoring** on the left-pane of your Device Update account to perform Log Analytics queries scoped, by default, to the logs and metrics collected in Azure Monitor Logs for your account.
36+
37+
All resource logs in Azure Monitor have the same fields followed by service-specific fields. The common schema is outlined in [Azure Monitor resource log schema](../azure-monitor/essentials/resource-logs-schema.md).
38+
39+
The [Activity log](../azure-monitor/essentials/activity-log.md) is a type of platform log in Azure that provides insight into subscription-level events. You can view it independently or route it to Azure Monitor Logs, where you can do much more complex queries using Log Analytics.
40+
41+
## Alerts
42+
43+
Azure Monitor alerts proactively notify you when important conditions are found in your monitoring data. They allow you to identify and address issues in your system before your customers notice them. You can set alerts on [logs](../azure-monitor/alerts/alerts-unified-log.md) and the [activity log](../azure-monitor/alerts/activity-log-alerts.md). Different types of alerts have benefits and drawbacks.
44+
45+
## Next steps
46+
47+
- See [Monitoring Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md) for details on monitoring Azure resources.

articles/iot-hub-device-update/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ items:
2828
href: device-update-control-access.md
2929
- name: Device Update limits
3030
href: device-update-limits.md
31+
- name: Monitor Device Update for IoT Hub
32+
href: monitor-device-update-iot-hub.md
3133
- name: Devices
3234
items:
3335
- name: Device Update agent

0 commit comments

Comments
 (0)