Filtering Emitted Events by Rules

When observing an input or the result of a function, you can also apply a filter which defines a threshold that must be satisfied for the observation to be passed to the destination. Octave includes filters that will pass the value when it's greater than, less than, or has changed by more than some user defined threshold.

The steps below build on the buffer configured in Buffering Data and Applying Functions to Observation Buffers, to illustrate how to set up a filter that will only pass the value to the destination when the mean value of the buffer is greater than 5:

  1. Edit the Observation configured in the previous topics (Buffering Data and Applying Functions to Observation Buffers).
  2. Enable the Filter events option.
  3. Click on Value is greater than and set the value to 5.
  4. Click Save to complete the modification to the Observation.