Example

This Data Stream example demonstrates how to use this Context Provider to return contextual telemetry data from an Azure Data Explorer table.

Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the Azure Data Explorer Context Provider onto the canvas and rename it. Link the output endpoint to the printer and save the Data Stream.

Step 2: Configure General

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

Step 3: Configure Authentication

Enter the authentication details: the Client Id, Secret Key, and Tenant Id.

Step 4: Configure Cluster

Enter the Cluster Url.

Step 5: Configure Database

Select the database, table, and columns to return. In this case:

  • Database: TestDatabase

  • Specify ADX Query: keep unticked as we're selecting from a single table

  • Table: TruckTelemetry table

  • Columns: ReadingNo, PumpId, PumpInletPressure, MilCircuitId, and Timestamp

Step 6: Configure Filtering & Sorting

Add a filter and sort criteria. In this case, leave both of them blank as we are not limiting or sorting the selection.

Step 7: Results

Apply the changes, save the Data Stream and publish it.

Let's look at the Live Data View. Every polling interval, the contents of the telemetry table are printed.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.

Last updated