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

[Lens] Add expression data source #80869

Closed
flash1293 opened this issue Oct 16, 2020 · 2 comments
Closed

[Lens] Add expression data source #80869

flash1293 opened this issue Oct 16, 2020 · 2 comments
Labels
enhancement New value added to drive a business result Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

To allow full flexibility in transforming data and fetching data from multiple sources at once, Lens should offer an "expression datasource". This allows to edit the underlying expression of the datasource part directly, while still keeping the visualization mapping as a simple to use drag and drop.

This is a generalization of the planned ESDSL data source (#59439) and should work in the same way: The user writes an expression, evaluates it and is able to drag and drop the columns of the resulting data table to chart dimensions.

Possible features:

  • Start with expression created by default index pattern datasource - when switching over, the expression datasource is initialized with the current state of the index pattern datasource
  • Save and load expressions independently from visualization - this allows reusing common logic in multiple visualizations (e.g. data analyst is preparing the expressions, end user is tying them to a chart for a nice dashboard)
  • In addition to the previous point - Allow expressions to be parameterized by variables. This makes it possible to configure the independently saved expressions in different ways depending on the chart (e.g. switching between different aggregation functions and raw data, but applying the same post processing)
@flash1293 flash1293 added enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 16, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@stratoula stratoula added the impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. label Jun 2, 2023
@stratoula
Copy link
Contributor

Thank you for contributing to this issue, however, we are closing this issue due to inactivity as part of a backlog grooming effort. If you believe this feature/bug should still be considered, please reopen with a comment.

@stratoula stratoula closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants