Skip to main content
Version: 0.95.0

Transform to boolean


Description

This processors transforms numbers and strings to boolean values.


Required input

A string with the values "true", "True", "false", "False" or a number with value 1.0, 1, 0, or 0.0


Configuration

Select fields that should be converted to boolean.

Output

Selected properties of input events are transformed to booleans. When the value is not valid an error message is logged and the event is discarde.