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

Change the index pattern on a visualization #707

Open
jgough opened this issue Aug 5, 2021 · 5 comments
Open

Change the index pattern on a visualization #707

jgough opened this issue Aug 5, 2021 · 5 comments
Labels
enhancement New feature or request help wanted Community development is encouraged

Comments

@jgough
Copy link
Contributor

jgough commented Aug 5, 2021

One of the most requested features in Kibana was the ability to change the index pattern on a visualisation. This issue was eventually closed as it was implemented in Kibana's Lens feature.

Currently, once a visualisation has been made then it is impossible to change the index pattern unless you go into "Saved Objects" and manually alter the visualisation JSON, which is cumbersome, open to all sorts of issues and definitely not for casual users.

It would be useful to provide some simple mechanism to allow users to alter the index pattern once a chart has been created - maybe similar to how index patterns can be changed in the Discover tab.

(Also see elastic/kibana#3668 for additional discussion)

@jgough jgough added the enhancement New feature or request label Aug 5, 2021
@JacobBrandt
Copy link

Related to #379. The ability to change index patterns is a feature of this new visualization creation experience I'm proposing here.

@tmarkley tmarkley added the help wanted Community development is encouraged label Sep 15, 2021
@joshuarrrr
Copy link
Member

So the trick here is in how to handle field mapping; we'd probably want some sort of friendly UX to allow the user to choose which fields in the new index pattern correspond to those in the old.

@joshuarrrr
Copy link
Member

We're currently looking for someone to take over and finish this PR: #1132

The remaining work is essentially:

  • update the PR by merging/rebasing with main
  • manual testing to figure out if anything is broken here, if it breaks other plugins, and if it needs to be extended to other use cases

@sandervandegeijn
Copy link

We are very much in need of this feature, would save a ton of time when changing out the data architecture but not the underlying data. Exporting/importing is too error prone

@zentavr
Copy link

zentavr commented Nov 3, 2024

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Community development is encouraged
Projects
None yet
Development

No branches or pull requests

6 participants