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
@@ -142,7 +142,7 @@ Demonstrates the max_match limit protection mechanism. When max_match=0 (unlimit
142
142
143
143
PPL query with max_match=0 automatically capped to default limit of 10::
144
144
145
-
os> source=accounts | rex field=address "(?<digit>\\d*)" max_match=0 | eval digit_count=array_length(digit) | fields address, digit_count | head 1 ;
145
+
os> source=accounts | rex field=address "(?<digit>\d*)" max_match=0 | eval digit_count=array_length(digit) | fields address, digit_count | head 1 ;
146
146
fetched rows / total rows = 1/1
147
147
+-----------------+-------------+
148
148
| address | digit_count |
@@ -152,7 +152,7 @@ PPL query with max_match=0 automatically capped to default limit of 10::
152
152
153
153
PPL query exceeding the configured limit results in an error::
154
154
155
-
os> source=accounts | rex field=address "(?<digit>\\d*)" max_match=100 | fields address, digit | head 1 ;
155
+
os> source=accounts | rex field=address "(?<digit>\d*)" max_match=100 | fields address, digit | head 1 ;
156
156
{'reason': 'Invalid Query', 'details': 'Rex command max_match value (100) exceeds the configured limit (10). Consider using a smaller max_match value or adjust the plugins.ppl.rex.max_match.limit setting.', 'type': 'IllegalArgumentException'}
0 commit comments