An example Data Stream that demonstrates how to use this Transformation to split pump data into high, low, and normal temperatures can be found below.
Drag the Filter Agent onto the canvas, link the input endpoint to the pump data, and the output to the printers: false to print normal, output to print high, and output 2 to print low.
Rename the Agent and save the Data Stream.
Select the Agent and click Configure. Keep the default Collection.
Click the + button to add a condition, then select Water temperature, is greater than, and type 150 for the value.
Click the + button to add a condition, then select Water temperature, is less than, and type 110 for the value.
Apply the changes, save the Data Stream and publish it.
Let’s look at the Live Data View. Events where filter 1 (> 150) is 'true' appear on the high temperature printer. Events where filter 2 (<110) is 'true' appear on the low temperature printer. Events that are 'false' for both filters appear on the normal temperature printer.