Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Azure IoT Handbook

You're reading from   The Azure IoT Handbook Develop IoT solutions using the intelligent edge-to-cloud technologies

Arrow left icon
Product type Paperback
Published in Dec 2023
Publisher Packt
ISBN-13 9781837633616
Length 248 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Dan Clark Dan Clark
Author Profile Icon Dan Clark
Dan Clark
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1: Capturing Data from Remote Devices
2. Chapter 1: An Introduction to the IoT FREE CHAPTER 3. Chapter 2: Exploring the IoT Hub Service 4. Chapter 3: Provisioning Devices with the Device Provisioning Service 5. Chapter 4: Exploring Device Management and Monitoring 6. Chapter 5: Securing IoT Systems 7. Part 2: Processing the Data
8. Chapter 6: Creating Message Routing 9. Chapter 7: Exploring Azure Stream Analytics 10. Chapter 8: Investigating IoT Data with Azure Data Explorer 11. Chapter 9: Exploring IoT Edge Computing 12. Part 3: Processing the Data
13. Chapter 10: Visualizing Streaming Data in Power BI 14. Chapter 11: Integrating Machine Learning 15. Chapter 12: Responding to Device Events 16. Index 17. Other Books You May Enjoy

Lab – detecting anomalies with ASA

One of the most common use cases of ASA is to detect anomalies. In this lab, you will see how it is done:

  1. Create an IoT hub with a device named device1.
  2. Go to the device simulator at https://azure-samples.github.io/raspberry-pi-web-simulator and enter your device connection string.
  3. Start the simulator and make sure your IoT hub is getting messages. You can use the following CLI command to view messages:
    az iot hub monitor-events --hub-name
  4. If it asks you to install dependencies, choose Yes.
  5. You can stop the simulator while you set up the ASA job.
  6. Create a blob storage account to save the results of the job. Create a blob container named logs.
  7. In the same resource group, select Create a resource and search for stream analytics job.

    Create a Stream Analytics job using the default values.

  8. Once created, open the Stream Analytics job in the Azure portal and select Inputs on the left-hand menu. Add an IoT hub input...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image