github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/conditions/all.md (about) 1 --- 2 title: all 3 type: condition 4 status: stable 5 --- 6 7 <!-- 8 THIS FILE IS AUTOGENERATED! 9 10 To make changes please edit the contents of: 11 lib/condition/all.go 12 --> 13 14 import Tabs from '@theme/Tabs'; 15 import TabItem from '@theme/TabItem'; 16 17 18 A condition that tests a child condition against each message of a batch 19 individually. If all messages pass the child condition then this condition also 20 passes. 21 22 ```yaml 23 # Config fields, showing default values 24 all: {} 25 ``` 26 27 For example, if we wanted to check that all messages of a batch contain the word 28 'foo' we could use this config: 29 30 ``` yaml 31 all: 32 text: 33 operator: contains 34 arg: foo 35 ``` 36 37