Skip to content

Issue with wildcards, whitespace, and keyword fields in KQL #23001

Description

@Bargs

Kibana version: master

Elasticsearch version: master

A query like machine.os.keyword:win x* returns no results, even though it should match values like "win xp". The underlying query_string query seems to want whitespace to be escaped with a backslash, but the KQL parser doesn't like that. I'm fairly certain this query worked in previous versions so I need to do some additional research and see if something changed in ES master or if this problem does indeed exist in 6.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:KQLKQLbugFixes for quality problems that affect the customer experienceimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions