-
Notifications
You must be signed in to change notification settings - Fork 97
if statements error #153
Copy link
Copy link
Open
Description
My origin filter:
filter {
if ![ipv4] {
drop{
id => "drop nmap data"
}
}
}
the parser seem to can not understand it and throw an error:
Error in created hook: "Error: Parse error on line 11:
...ter { if [ipv4] { drop{ id => "d
---------------------^
Expecting 'BINARY_OPERATOR', got 'START'"
Does the jison paser just do not support this?
So i have to change my conditon to if [ipv4] != null?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels