Book Image

Hands-On Azure Digital Twins

By : Alexander Meijers
Book Image

Hands-On Azure Digital Twins

By: Alexander Meijers

Overview of this book

In today’s world, clients are using more and more IoT sensors to monitor their business processes and assets. Think about collecting information such as pressure in an engine, the temperature, or a light switch being turned on or off in a room. The data collected can be used to create smart solutions for predicting future trends, creating simulations, and drawing insights using visualizations. This makes it beneficial for organizations to make digital twins, which are digital replicas of the real environment, to support these smart solutions. This book will help you understand the concept of digital twins and how it can be implemented using an Azure service called Azure Digital Twins. Starting with the requirements and installation of the Azure Digital Twins service, the book will explain the definition language used for modeling digital twins. From there, you'll go through each step of building digital twins using Azure Digital Twins and learn about the different SDKs and APIs and how to use them with several Azure services. Finally, you'll learn how digital twins can be used in practice with the help of several real-world scenarios. By the end of this book, you'll be confident in building and designing digital twins and integrating them with various Azure services.
Table of Contents (25 chapters)
1
Section 1: Azure Digital Twin Essentials
4
Section 2: Getting Started with Azure Digital Twins
11
Section 3: Digital Twins Advanced Techniques
19
Section 4: Digital Twin Implementations in Real-world Scenarios

Setting up diagnostic settings

In this section, we will be setting up the diagnostic settings for the Azure Digital Twins service. These diagnostic settings need to be configured to view different logs and metrics. These logs and metrics will query the collected data in the Azure Log Analytics workspace data source. The diagnostic settings can have up to five different settings to allow you to collect different logs and metrics to different locations.

Let's create a diagnostic setting. Execute the following steps as shown in Figure 15.4:

  1. Select the Azure Digital Twin DTBDigitalTwins resource.
  2. Select Diagnostic settings in the left menu.
  3. Select + Add diagnostic setting.

Figure 15.4 – Add a new diagnostic setting to the Azure Digital Twins service

Execute the following steps as shown in Figure 15.5 to create our first diagnostic setting:

  1. Enter a diagnostic settings name. We will use logs and metrics.
  2. Select all...