Skip to content

[ES|QL] - Select Partial Text for WHERE/GROK in ES|QL Queries in Discover #192281

Open

Description

User Problem:

In ES|QL, users can add full strings to a WHERE clause, but this is limited when dealing with unstructured data (e.g., logs). Users often need to select specific parts of a message field rather than the entire string to refine their query. Without this functionality, users must manually extract and edit the desired text, slowing down their workflow.

This is how it works today where it is possible:

Skaermoptagelse.2024-09-06.kl.17.23.18.mov

Describe the feature:

[NEEDS DESIGN CHECK]

Enable users to select part of a message field within a cell in Discover. Upon selection, a pop-over menu should appear with options to:

•	Add the selected text to the ES|QL query as a WHERE clause.
•	Apply a GROK pattern for parsing unstructured data.

This will significantly enhance usability when working with complex logs or messages, allowing for more efficient data parsing and querying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Feature:DiscoverDiscover ApplicationFeature:ES|QLES|QL related features in KibanaTeam:DataDiscoveryDiscover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.Team:ESQLES|QL related features in Kibanadiscuss

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions