This Data Stream example demonstrates how to use this Action Agent to write telemetry data to Azure Data Explorer.
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.
Select the Agent and click Configure. In this case, keep the default Collection.
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.
Enter the Cluster Url.
Select the database and table. In this case, set the database to TestDatabase and table to TruckTelementryTest.
Apply the changes.
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.
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.
ADX Action Agent.xuc