Skip to content

Commit a5e82d7

Browse files
committed
EQL: Add explicit 'any where ...' handling (elastic#52526)
1 parent f689171 commit a5e82d7

File tree

5 files changed

+383
-350
lines changed

5 files changed

+383
-350
lines changed

x-pack/plugin/eql/src/main/antlr/EqlBase.g4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ subquery
6363
;
6464

6565
eventQuery
66-
: event=identifier WHERE expression
66+
: (ANY | event=identifier) WHERE expression
6767
;
6868

6969
expression
@@ -143,6 +143,7 @@ string
143143
;
144144

145145
AND: 'and';
146+
ANY: 'any';
146147
BY: 'by';
147148
FALSE: 'false';
148149
FORK: 'fork';

0 commit comments

Comments
 (0)