[Bug] Review KQL Semantic Validation of Wildcard Usage for Specific Field Types
terrancedejesus opened this issue · comments
Terrance DeJesus commented
Related
Summary
As discussed and shown in #3316, the use of *
wildcards in certain field types fail semantic validation via the KQL parser library, but should be allowed. This query is valid upstream in Discover or Kibana, but fails validation locally due to a bug in the custom KQL parser.
Example query to use for debugging:
host.os.type:linux and event.category:network and event.action:(connection_attempted or connection_accepted) and
process.name:kworker* and not destination.ip: 192.168.*" or "172.*" or "10.*" or "127.*" or "169.254.*)
We should focus our debug efforts on
Line 354 in eafec1d