Comment on page
This Data Stream example demonstrates how to use this Context Provider to return contextual telemetry data from an Azure Data Explorer table.
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.
Select the Agent and click Configure. In this case, keep the default Collection and polling interval.
Enter the authentication details: the Client Id, Secret Key, and Tenant Id.
Enter the Cluster Url.
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
Add a filter and sort criteria. In this case, leave both of them blank as we are not limiting or sorting the selection.
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.