Comment on page
This example Data Stream demonstrates how to use the Context Provider to return filtered pump data from an InfluxDB bucket.
Drag the Influx DB 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 Database Details of the Influx Data Cloud to which you want to connect: URL, Token and Org.
Set the bucket and measurement. In this case, set the bucket to the developer's bucket and the measurement to Mem.
Add the Tag and Field properties to be included in the output payload, and the filter. In this case, add a host3 tag (type string), a volume1 field (double), and a filter of host3 does not contain 'z'.
Apply the changes, save the Data Stream and publish it.
Let's look at the Live Data View. Observe that all rows from the InfluxDB bucket that fit the filter criteria are printed.