Book Image

The Azure IoT Handbook

By : Dan Clark
Book Image

The Azure IoT Handbook

By: Dan Clark

Overview of this book

With the rise of cloud-based computing, deploying IoT systems has become more cost-effective for businesses. This transformation has led to developers and architects shouldering the responsibility of creating, managing, and securing these systems, even if they are new to the IoT technology. The Azure IoT Handbook is a comprehensive introduction to quickly bring you up to speed in this rapidly evolving landscape. Starting with the basic building blocks of any IoT system, this book guides you through mobile device management and data collection using an IoT hub. You’ll explore essential tools for system security and monitoring. Following data collection, you’ll delve into real-time data analytics using Azure Stream Analytics and view real-time streaming on a Power BI dashboard. Packed with real-world examples, this book covers common IoT use as well. By the end of this IoT book, you’ll know how to design and develop IoT solutions leveraging intelligent edge-to-cloud technologies implemented on Azure.
Table of Contents (18 chapters)
1
Part 1: Capturing Data from Remote Devices
7
Part 2: Processing the Data
12
Part 3: Processing the Data

Running and monitoring jobs

After creating and testing a job, the next step is running and monitoring it to ensure it is processing data as expected and promptly detect any issues or anomalies.

Before running a job, you should set up the diagnostic settings by going to Diagnostic settings on the left side menu. The following screenshot demonstrates setting up execution logs saved to a storage account:

Figure 7.8 – Setting up diagnostic logs

In this case, we are looking at execution logs and retaining them for 10 days.

ASA also allows you to set up alerts based on specific conditions or metrics. By creating alerts, you can receive notifications when certain thresholds or conditions are met. In the Azure portal, go to your Streaming Analytics service, click on Alerts on the left-hand menu, and configure the alert rules based on your requirements.

Once the job is created, on the job overview page, click on the Start job button to start the job...