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

[Proposal] - Advanced Data Selector #6068

Open
shanilpa opened this issue Mar 7, 2024 · 1 comment
Open

[Proposal] - Advanced Data Selector #6068

shanilpa opened this issue Mar 7, 2024 · 1 comment

Comments

@shanilpa
Copy link

shanilpa commented Mar 7, 2024

Overview

As OpenSearch Dashboards expands to support new data sources (Multiple Data Source, Apache Spark integration, S3 via OpenSearch Observability) there is a growing need to offer a more robust and transparent data selection experience above the simple selector proposed here.

Advanced Data Selection

The advanced data selector aims to solve these key challenges based on the context above:

  1. How do we create a scalable data selection experience that supports multiple data connections?
  2. How do we allow users to have more transparency and control over the data they are selecting?
  3. How do we make it easier for users to create index patterns and other abstractions in context?
  4. How do we make complex data selection faster for users that often select the same data?
Advanced.Data.Selector.mp4

Aid in data understanding

Allowing users to inspect a data set to understand meta data such as the total number of fields, field names, and types to aid in the data selection process
image

Quick selection through favorites and recently selected

Users are able to more quickly select data through favorites (data sources they frequently selected) and recently selected items. Users can add favorites through the star action or via the selected tab for a group of selections.
image
image

Contextual index pattern creation

Users no longer have to navigate out of Discover to create an index pattern (however if they would like they still can) - they can simply enter a wild card (*) to match indexes that follow the pattern. The index pattern is created on data selection with a default timestamp auto-selected based on some heuristics. Users can leverage the index pattern feature under Dashboards Management to perform index pattern operations.
image

States

If data connections are not setup users are presented with an empty state to either refresh or deep link to the data source configuration page to setup connections
image

In the event data for a specific connection can not be retrieved we present users with an error callout
image

@paulstn
Copy link
Contributor

paulstn commented Jun 17, 2024

If support for multiple queries to appear on the page does eventually come for Discover, how will the datasource selector support all of that? Is it meant to act as an introductory filter for every query that would appear on the page? Would it make more sense to provide every query with its own datasource selector?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants