Skip to content

[Discover] Aggregate metric field columns display oddly in Discover #210234

Open
@davismcphee

Description

When adding an aggregate metric field as a column to the Discover table, it displays oddly.

It displays reasonably in the Summary column:
Image

But not as an individual column:
Image

The issue seems to be a combination of two things:

  • We auto format the JSON for object field values when added as a column.
  • We right-align number field values when added as a column, and aggregate metric fields seem to have type: number.

Together this causes it to render as right-aligned and JSON formatted, which doesn't really work.

Metadata

Assignees

No one assigned

    Labels

    Feature:DiscoverDiscover ApplicationFeature:UnifiedDataTableTeam:DataDiscoveryDiscover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.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.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions