Skip to content

Allow for more fidelity in the Human Readable Duration format #94641

@sastewart

Description

@sastewart

I would like to be able to make a human-readable Duration be displayed with higher accuracy. Perhaps an optional Decimal Places field when selecting the Human Readable option for the Output format. This would be set when editing a field in an Index Pattern on Kibana. You would set it under Management -> Stack Management -> Index Patterns -> your index pattern -> some numeric field that is formatted as a Duration

Describe a specific use case for the feature:
I have many fields with Durations in milliseconds and they can run from a few milliseconds to a few days worth of milliseconds. If I select Human Readable I lose the granularity I need. What I would like to see if I set Decimal Places to 2 is
Input -> Output
1 -> 1ms
658 -> 658ms
1988 -> 1.99s
3857 -> 3.86s
123292 -> 2.05m
923528271 -> 10.69d

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