An example Data Stream that demonstrates how to use this Action Agent to send pump readings to an Azure Event Hub can be found below. The example is designed to work with the Azure Event Hub Listener example use case.

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

Step 1: Add the Agent

Drag the Azure Event Hub Action Agent onto the canvas, connect the input endpoint to the pumpm readings, and save the Data Stream.

Step 2: Configure General

Select the Agent and click Configure. Keep the default Collection.

Step 3: Configure Event Hub Details

Tick to use variables and add the authentication values: Hub Name, End Point, and Shared Access Key Name and Value.

Step 4: Configure Input Mapping

Click '+' to add the input mappings to the properties grid. This example uses the following properties:

  • ReadingNo, Integer, ReadingNo

  • Timestamp, DateTime, Timestamp

  • PumpTemp, Double, Temperature

Step 5: Results

Apply the changes and save the Data Stream.

Publish both this Data Stream and the Event Hub Listener example. Open the Live View blade for both Data Streams to see how the pump data flows between the Data Streams through the Event Hub.


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

Last updated