Skip to main content

number

DEPRECATED

This component is deprecated and will be removed in the next major version release. Please consider moving onto alternative components.

# Common config fields, showing default values
label: ""
number:
operator: add
value: 0

Fields​

operator​

The operator to apply.

Type: string
Default: "add"

value​

A value used by the operator. This field supports interpolation functions.

Type: int
Default: 0

parts​

An optional array of message indexes of a batch that the processor should apply to. If left empty all messages are processed. This field is only applicable when batching messages at the input level.

Indexes can be negative, and if so the part will be selected from the end counting backwards starting from -1.

Type: array
Default: []

Alternatives​

All functionality of this processor has been superseded by the bloblang processor.