check_field

Extracts the value of a field identified via dot path within messages (currently only JSON format is supported) and then tests the extracted value against a child condition.

check_field:
path: ""
condition: {}

Fields

path

string A field path to check against the child condition.

condition

object A child condition to test the field contents against.

parts

array An optional array of message indexes of a batch that the condition 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.