-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Ability to export the index pattern along with saved objects #4288
Comments
Plus all the field format config! |
|
+1 |
1 similar comment
+1 |
+1 Having to do the DB then the visualisations and then do this is a PITA |
+1 Actually, I feel that this is an important feature. If possible, please rate with higher priority than 'enhancement'. Right now it is only possible with external tools to fully transfer dashboards to a new setup. |
++ This is a common request from the field to be able to export/import dashboards and visualizations between different clusters (and sometimes across data centers that will have indices named differently - a requirement for the tribe node). With the export's visualization including the index pattern reference, but no actual index settings for the pattern, the user will have to first create dummy index patterns in the target environment just to be able to even import these objects into the target cluster. Obviously these dummy index patterns are of no actual use for querying in the target cluster, so the user will also have to go through a process to update each visualization from the advanced editing screen to change the visualization reference - also tedious because you can't batch change these today (#3668) with each visualization tied to an actual index pattern. Alternatively, the user will have to hack the exported .json to make changes to all the index references to map to existing indices in the target cluster - easier way, but more risky with the potential to corrupt the export while performing direct modification of the export file. |
@Bargs Well, it's possible to import and export objects in Kibana4. These files need to contain the index patterns, and I do not know if I need an Index Pattern API for that. Until this feature is available, I use 'es-export-bulk' and 'es-import-bulk' from https://github.com/skratchdot/elasticsearch-tools |
+1 |
1 similar comment
+1 |
+1, really needed feature |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1, currently working with elasticdump workaround (which isn't pretty to mantain!) |
I ran into this issue today, and in my case, the index pattern included a scripted field. Even after re-creating the index pattern with a scripted field that had the same name, the visualization I imported that worked with the original scripted field didn't work out of the box with the re-created scripted field. I took a screenshot of the visualization with the error shown in a Dashboard, where the scripted field is called "image" |
+1 |
+1 |
1 similar comment
+1 |
+1 |
+1 |
Very useful for doing upgrades. |
+1 |
+1 The Export Everything button in Kibana doesn't export everything. Some of my Kibana visualizations rely on scripted fields that are defined in index patterns. |
+1 This is really needed and to me seems very basic. |
Well, one problem is that index pattern fields may disappear on refresh, if there is no data; that is why we need full JSON files if we want to transfer dashboards to customers.
Then there is some need to edit:
|
+1 |
5 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
@epixa almost a year ago the P1 priority was removed, is there a specific reason why this seems less important? |
@jccq No, this is still as important as before. We deleted all of the |
thanks @epixa how about replacing some of the "reactify" in some of the next sprint with this :) just saying. thanks for all |
@jccq We don't do sprints, but the react work we're doing across Kibana doesn't really impact when we work on this particular issue. There are hundreds of things in flight at the moment, and a few hundred more things on deck. We are anxious to get to this issue as soon as we can, though. |
great to hear. It opens the road to storing more metadata into index patterns e.g. comments or hints for the users, things that make all nicer. Best |
+1 |
1 similar comment
+1 |
Please use the |
Thank you very much everyone for adding the However, best is to add a thumbs-up reaction in the initial post if you would like to participate on this. Extra |
@chrisronline does #17426 close this issue? |
Yes, good call! |
Right now, when we export a dashboard, the index pattern(s) does not get exported along with it. So the import process requires the user to create the correct index patterns(s) manually and then re-import.
The text was updated successfully, but these errors were encountered: