This Data Stream example demonstrates how to use this Listener to return telemetry data from an Azure Data Explorer table.
Drag the Azure Data Explorer Listener 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 cluster 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, MillCircuitId and Timestamp
Select the Timestamp column from the list of table columns.
Apply the changes, save the Data Stream and publish it.
Let's look at the Live Data View. Every 10 seconds, any new rows added to the telemetry table are printed.