Skip to content

[Lens] Encourage user to use smaller data set if searches take too long #84908

@flash1293

Description

@flash1293

On dashboards, Lens already supports the upcoming "Send to background". Within the Lens editor, this doesn't make much sense because it's based on interactivity. If the user wants to edit a visualization tied to slow data sources, they should try to decrease the size of the data set (e.g. just use the last 30mins of data instead of last 2 years) for editing, then when back on dashboard they can send the long running search to background.

If requests are very slow in Lens, we should advise the user to use a smaller data set here and use background sessions when back on the dashboard.

Context

Part of #83640

On dashboards, Lens already supports the upcoming "Send to background". This should also work within the Lens editor. To do so, the "searchSessionId" has to be kept around and passed to the expression to allow the data layer to pick up a search running in the background.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultimpact:needs-assessmentProduct and/or Engineering needs to evaluate the impact of the change.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions