id: org.apache.streampipes.processors.transformation.jvm.processor.state.labeler.number title: Number Labeler sidebar_label: Number Labeler


Description

Apply a rule to a value of a field. (E.g. when minimum value is lower then 10, add label not ok else add label ok)


Required input

Requires a sensor value

Sensor value

A number representing the current sensor value.


Configuration

Condition

Define a rule which label to add. Example: <;5;nok means when the calculated value is smaller then 5 add label ok. The default label can be defined with *;nok. The first rule that is true defines the label. Rules are applied in the same order as defined here.

Output

Appends a new field with the label defined in the Condition Configuration