Skip to content

[UX] Point in time in OpenSearch Dashboards (WIP) #1612

Open
@Cindyqi8506

Description

Overview

OpenSearch Dashboards Point in time (PIT) search feature allow users (including but not limited to Developers, DevOps, and Data Analyst) to create and manage point in time search from OpenSearch Dashboards stack management, discover, visualize and dashboard. It helps user maintain a fixed data set which can be re-used by different queries in order to achieve consistent results.

Use Cases

  1. Users create a PIT based on existing index pattern or indices, give the PIT a name and a expiration date.
  2. Users explore the existing index pattern in Discover, and create a PIT to get fixed data set in time.
  3. Users create visualization based on the existing index pattern in Visualize, and create a PIT to freeze the visualization result and share with others.
  4. Users view and manage PITs in stack management, perform tasks such as extend expiration time, bulk delete, rename and create new PIT based on existing ones.

We are looking for more use cases, please comment if you know a use case not covered above. 😃

Ref: Point In Time Search opensearch-project/OpenSearch#1147

Flow structure

There are four flows in exploration for PIT search, Minimum viable product (MVP) will include Stack Management flow and Discover flow. Visualize flow and Dashboard flow are working in progress (WIP).

Stack Management Flow (MVP)

  • From Stack Management > Point in Time > view and manage PITs
  • From Stack Management > Index Pattern > create PIT based on existing index pattern
  • From Stack Management > Saved Objects > relationship (parent/child), view PITs and its’ relationship with other objects
    
    image
    image

Discover Flow (MVP)

  • From Discover > Change Data Source > create PIT or change to existing PIT

image

Visualize Flow (WIP)

  • From Visualize > Change Data Source > create PIT or change to existing PIT

Dashboard Flow (WIP)

  • From Dashboard > Edit Panel > create PIT or change to existing PIT / Show expired PIT Panel

image

Design Mockups

1. Stack Management Flow (MVP)

  • Access Point in Time in Stack Management
    image

  • Create new PIT in the flyout
    Create PIT

  • Perform tasks such as extend expiration time, bulk delete, rename and create new PIT based on existing ones.
    row actions

  • View PIT Details
    PIT Details
    

  • Create new PIT based on existing index pattern
    View PIT in IP

  • View PIT in saved Objects
    View in SO

2. Discover Flow (MVP)

  • Switch data source to existing PIT
  • Create New PIT based on selected index pattern
    discover

3. Visualize Flow (WIP)

  • Switch data source to existing PIT created based on the selected index pattern
  • Create new PIT based on selected index pattern
    Visualize

4. Dashboard Flow (WIP)

  • Create new PIT for the selected panel
  • Click PIT icon to open the PIT flyout and edit
  • Expired PIT icon turn red and graph become monochrome (we may not have the expired PIT data, consider empty state pattern instead)
    dashboard

Thank you for reading, comments and suggestions are welcome 🤗.

Metadata

Assignees

Labels

enhancementNew feature or requestfeature-PITux / uiImprovements or additions to user experience, flows, components, UI elements

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions