Skip to content

A framework for flexible field transformations #559

@rashidkpc

Description

@rashidkpc

We need a way to transform the view of a field's value in a flexible way. Right now we have things like noXml, urlLink and stringify that do some minor transformations to make fields display in a way that is acceptable to the user. However there's currently no way to perform optional transformations, for example, transforming dates to local time, or prettying fields that contain JSON.

I'm opening this ticket for discussion on how to accomplish that. We need to discuss:

  • scope
    • How far do we go? The easiest way to restrict this to the table panel, and this may be the only way, since to transform anything facet related would require the transformation be done on the elasticsearch side
  • code structure
    • Where does this functionality go? How does the user implement new transformations?
  • UI
    • What does the UI look like for configuring this? How do you display that a field is being transformed and how its happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions