Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Derived Fields] Derived fields integration with Dashboards #6817

Open
rishabhmaurya opened this issue May 21, 2024 · 6 comments
Open

[Derived Fields] Derived fields integration with Dashboards #6817

rishabhmaurya opened this issue May 21, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@rishabhmaurya
Copy link

Is your feature request related to a problem? Please describe.

Derived Fields is a new feature to be introduced in OpenSearch 2.15.
RFC: opensearch-project/OpenSearch#1133
Meta Task: opensearch-project/OpenSearch#12281
We would like to add its suport in OpenSearch Dashboards so that they can be defined and accessed for search, fetch and highlight features.

Describe the solution you'd like
Just like we have support for "Script Fields", we would also like to add support for "Derived Fields", so that they are available for search, fetch and highlight from dashboard.

Screenshot 2024-05-21 at 1 06 16 PM

Screenshot 2024-05-21 at 1 06 55 PM

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@BionIT
Copy link
Collaborator

BionIT commented Jun 3, 2024

Hi @rishabhmaurya , are we targeting to make change for this issue in 2.15 or 2.16?

@rishabhmaurya
Copy link
Author

@BionIT this is for 2.16

@rishabhmaurya
Copy link
Author

@BionIT could we assign it to someone and prioritize it for 2.16.
Here is the documentation of the feature, let me know if you need any clarification.

@seraphjiang
Copy link
Member

@rishabhmaurya would you elaborate a little bit more what what is the feature and what are the functionality. the RFC looks more like backend feature requirement. it is unclear what feature or enhancement need at opensearch dashboards side. Once we have more clear understand what we need for opensearch dashboards, we may ask ux team's help to create a few mock up to understand the user experience and scope of work without write any code.

@smacrakis
Copy link

@rishabhmaurya -- you say "We would like to add its suport in OpenSearch Dashboards so that they can be defined and accessed for search, fetch and highlight features."
Could you please list the touchpoints that need to be updated? Do we have a list of places where Fields in general or Script Fields in particular can be used?

@rishabhmaurya
Copy link
Author

  1. When defining index pattern, just like "scripted field", there should a tab for derived fields to define/list/edit derived fields against an index/index pattern.
    Screenshot 2024-08-14 at 5 10 11 PM
    Internally, it should create derived fields mappings against index and it should support all parameters defined against the API here.
    I have created following "script field" for illustration:
    Screenshot 2024-08-14 at 5 22 10 PM

  2. Support on discover page: just like "script fields" are shown in available/popular fields section, derived fields should be shown here as well.
    Screenshot 2024-08-14 at 5 23 45 PM

Screenshot 2024-08-14 at 5 24 55 PM

  1. Similarly on dashboard page, derived fields should be made available to select them as part of dashboard.
    Screenshot 2024-08-14 at 5 26 37 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: New
Status: In Progress
Development

No branches or pull requests

4 participants