Skip to content

[Lens] [Discuss] Which formatters should Lens support? #53535

@wylieconlon

Description

@wylieconlon

Lens should allow users to set a formatter for a specific aggregation or metric. It already uses the default field formatters provided from the index pattern if those data points are set, and those defaults should allow overriding.

This issue is to discuss how Lens should let users format data.

In Kibana today, formatters have a type and potentially some extra arguments. For example, the number formatter takes a format string. The date formatter also takes a format string.

Screenshot 2019-12-18 16 54 31

For reference, here are the current formatting options for index patterns in Kibana:

Screenshot 2019-12-18 16 53 45

Screenshot 2019-12-18 16 54 00

Screenshot 2019-12-18 16 54 15

Screenshot 2019-12-18 16 54 50

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions