This Data Stream example demonstrates how to use this Action Agent to write telemetry data to Azure Data Explorer.
Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the Azure Data Explorer Action Agent onto the canvas and rename it. Link the input endpoint to the pump data, the output to the printer, and save the Data Stream.

Step 2: Configure Service

Select the Agent and click Configure. In this case, keep the default Collection.

Step 3: Configure Authentication

Enter the authentication details: the Client Id, Secret Key, and Tenant Id. In this case, tick to use variables for security and so they can be reused across the ADX Agents.

Step 4: Configure Cluster

Enter the Cluster Url.

Step 5: Configure Database

Select the database and table. In this case, set the database to TestDatabase and table to TruckTelementryTest.
Apply the changes.

Step 6: Configure Input Mappings

Select the Azure Data Explorer's input arrow and click Configure. Map one of the parent Agent's output attributes to each telemetry attribute, which is fetched from the Azure table.
In this case, click Auto Map as the attribute names and data types are the same.

Step 7: Results

Apply the changes, save the Data Stream and publish it.
Let's look at the Live Data View. The telemetry data is printed as well as written to Azure Data Explorer.


Security Key
Data Stream
ADX Action Agent.xuc
Sample Data
See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.