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

[FEATURE] Allow users to create a PIT from Dashboards #63

Open
Tracked by #61
shanilpa opened this issue Feb 17, 2023 · 0 comments
Open
Tracked by #61

[FEATURE] Allow users to create a PIT from Dashboards #63

shanilpa opened this issue Feb 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@shanilpa
Copy link

Context

Is your feature request related to a problem?
Currently, users are able to create Point in Time (PIT) objects via an API. They are not able to create PITs through Dashboards. This feature will allow them to create PITs from Index Patterns and indices from a single data source (cluster).

This initial work would allow users to view PIT objects (backend and dashboard), and provide a path to other flows like PIT creation, viewing PIT object details, editing PITs, and using them in Discover.

Other context notes

  • A Point in Time is a freeze of data at a particular point. This data will yield the same search results and paginate the same way as long as the PIT is alive.
  • PIT objects created on the backend (backend PITs) are not usable in Dashboards until a user makes them available.
  • When a PIT is made available in Dashboards it's name is pre-appended with "PIT-". This was done for easy identification of PIT objects without having to add additional UI elements elsewhere in Dashboards (i.e Discover Data Picker)

What solution would you like

NB: These are design mockups. Some copy is placeholder and not all interactions are polished.
Mockups may differ from the final launched feature.

1. Allow users to create a PIT from an Index Pattern in a single cluster

  • Users are able to select a single data source (cluster) and create PITs from this cluster via an already created Index Pattern.
  • PITs created from an Index Pattern are automatically available to Dashboards and a user can not chose to disable this option ( it is not shown in the create flow).
  • A user can set an initial keep_alive time for the PIT as long as it does not exceed the max_keep_alive_time which is a cluster setting on the backend.
  • Users can only select a single index pattern

Create flow for PIT from index pattern
image

User lands on object management table after creation with the new PIT
image


2. Allow users to create a PIT from an Index or indices in a single cluster

  • Users are able to create a PIT from a single index, multiple indices, or wildecard in a single cluster.
  • Users are able to chose whether they want to make this PIT available in Dashboards. If they chose not to this PIT is only available on the backend and can not be used by other Dashboard features as a data source (Discover).
  • For PITs that are made available to Dashboards a user can name them and use them as a data source in Discover.

PIT available in Dashboards
image

PIT not available in Dashboards
image

@shanilpa shanilpa added the enhancement New feature or request label Feb 17, 2023
@shanilpa shanilpa changed the title [FEATURE] Allowing users to create a PIT from Dashboards [FEATURE] Allow users to create a PIT from Dashboards Feb 17, 2023
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
None yet
Development

No branches or pull requests

1 participant