Skip to content

[Discover] Patterns profile default column issues #226612

Open
@davismcphee

Description

@davismcphee

While testing noticed another issue with Patterns profile which we might want to fix separately.

The hardcoded default columns sometimes affect the UI/UX. For example, if I define a query

FROM kibana_sample_data_logs | STATS count = COUNT(*) by Pattern = CATEGORIZE(message)
| sort count DESC

with count instead of Count then the width would not be applied and after saving this Discover session the count column disappears from the screen:

Jul-01-2025 15-46-29

Would be great to make the default columns dynamic to user's query (if possible) or don't use them.

Originally posted by @jughosta in #225571 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:DiscoverDiscover ApplicationProject:OneDiscoverEnrich Discover with contextual awarenessTeam:DataDiscoveryDiscover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.Team:MLTeam label for ML (also use :ml)bugFixes 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:needs-researchThis issue requires some research before it can be worked on or estimated

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions