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
User feedback when running an EQL query: I cannot escape the event category for the query: system.cpu where cpu.cores = 16
line 1:8: mismatched input '.' expecting 'where'
Tried escaping (with " or "): "system.cpu" where ...
line 1:1: no viable alternative at input '\"system.cpu\"'"
Finally fixed by using backticks: `system.cpu` where ...
This is a poor experience from an internal uses, that is interested in EQL and know about it. And yet gets caught off-guard by our use of quotes and escaping.
I'm raising this issue to revisit this topic and improve the current situation.
The text was updated successfully, but these errors were encountered:
I think we need a separate pattern for eventType. I think it's fair to allow . and -, and that shouldn't cause any conflicts with the grammar since we still have where as a hard requirement. Or we could handle error conditions in a different way where we can show the recommended syntax.
User feedback when running an EQL query: I cannot escape the event category for the query:
system.cpu where cpu.cores = 16
Tried escaping (with " or "):
"system.cpu" where ...
Finally fixed by using backticks:
`system.cpu` where ...
This is a poor experience from an internal uses, that is interested in EQL and know about it. And yet gets caught off-guard by our use of quotes and escaping.
I'm raising this issue to revisit this topic and improve the current situation.
The text was updated successfully, but these errors were encountered: