You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/filters/grep.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ pipeline:
94
94
{% endtab %}
95
95
{% endtabs %}
96
96
97
-
The filter lets you use multiple rules which are applied in order. You can have as many `Regex` and `Exclude` entries as required.
97
+
The filter allows to use multiple rules which are applied in order, you can have many `Regex` and `Exclude` entries as required ([more information](#multiple-conditions).
98
98
99
99
### Nested fields example
100
100
@@ -186,8 +186,12 @@ or is missing or empty, then it will be excluded.
186
186
187
187
### Multiple conditions
188
188
189
-
If you want to set multiple `Regex` or `Exclude`, use the `Logical_Op` property
190
-
to use a logical conjunction or disjunction.
189
+
If you want to set multiple `Regex` or `Exclude`, you must use the `legacy` mode. In this case, the `Exclude` must be first and you can have only one `Regex`.
190
+
If `Exclude` match, the string is blocked. You can have multiple `Exclude` entry.
191
+
After, if there is no `Regex`, the ligne is send to the output.
192
+
if there is a `Regex` and it match, the ligne is send to the output, else, it's blocked.
193
+
194
+
If you want to set multiple `Regex` or `Exclude`, you can use `Logical_Op` property to use logical conjuction or disjunction.
191
195
192
196
If `Logical_Op` is set, setting both `Regex` and `Exclude` results in an error.
0 commit comments