[KQL] Better programmatic API #77085
Labels
Feature:KQL
KQL
Feature:Search
Querying infrastructure in Kibana
Icebox
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
KQL is being used in more and more places, such as the saved objects client, in fleet, in alerting, etc.
The KQL parser (built in PEG) doesn't perform well, so in cases where we want to improve performance, we've been interacting directly with the KQL AST nodes. Right now our APIs for doing so aren't very clean or documented.
We'd like to get to the point where we can do something simple like this:
And still get the performance increases we've seen from interacting directly with the AST nodes.
Related: #75693, #76589
The text was updated successfully, but these errors were encountered: