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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Azure Digital Twins

You're reading from   Hands-On Azure Digital Twins A practical guide to building distributed IoT solutions

Arrow left icon
Product type Paperback
Published in Mar 2022
Publisher Packt
ISBN-13 9781801071383
Length 446 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Alexander Meijers Alexander Meijers
Author Profile Icon Alexander Meijers
Alexander Meijers
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Section 1: Azure Digital Twin Essentials
2. Chapter 1: About Digital Twins FREE CHAPTER 3. Chapter 2: Requirements and Installation 4. Section 2: Getting Started with Azure Digital Twins
5. Chapter 3: Digital Twin Definition Model 6. Chapter 4: Understanding Models 7. Chapter 5: Model Elements 8. Chapter 6: Creating Relationships between Azure Digital Twin Models 9. Chapter 7: Querying Digital Twins 10. Chapter 8: Building Models Using Ontologies 11. Section 3: Digital Twins Advanced Techniques
12. Chapter 9: APIs and SDKs 13. Chapter 10: Building a Digital Twin Pipeline 14. Chapter 11: Updating the Model 15. Chapter 12: Event Routing 16. Chapter 13: Setting up Azure Maps 17. Chapter 14: Integrating Azure Maps 18. Chapter 15: Monitoring and Troubleshooting 19. Section 4: Digital Twin Implementations in Real-world Scenarios
20. Chapter 16: Facility of the Future 21. Chapter 17: Creating Digital Twins for Smart Building 22. Chapter 18: Simulations Using a Digital Twin 23. Assessments 24. Other Books You May Enjoy

Monitoring updates

It is easy to monitor updates from the Azure Function. We have been using the Ilogger.LogInformation method to log information during the execution of the Azure Function. These log rows are viewable using the Log stream functionality in the Azure portal.

Execute the following steps to view logs in the Azure portal:

  1. Select the AzureMapUpdater resource.
  2. Select Log stream in the left menu. Sometimes, you will need to perform an additional step to have the Log stream functionality enabled. We have not described these steps here.
  3. The log information will start floating in. Look for rows that describe the events coming from Event Grid produced by updates from the demo sensors.

    The following screenshot highlights this process:

Figure 14.19 – Monitoring updates using Log stream

We can see that the event coming in is from the 20a05n5fxk0 demo sensor. Since there is no unit with that name in the indoor map, we receive...

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