-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[DOC] Clarify compatibility of Saved Objects across versions #63090
Changes from 1 commit
0cae060
d84dba2
3cb4e6d
cd635dd
22dd697
12cb9e3
f80d367
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -39,6 +39,17 @@ have multiple environments for development and production. | |||||
Import and export also work well when you have a large number | ||||||
of objects to update and want to batch the process. | ||||||
|
||||||
[float] | ||||||
==== Compatibility across versions and downgrades | ||||||
|
||||||
We do not guarantee compatibility of a Saved Object exported from newer Kibana version and imported to older Kibana version: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @rudolf I thought importing objects with a higher There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Based on this forum post https://discuss.elastic.co/t/copy-visualisation-and-dashboards/225958 I don't think it's producing a nice error message, just failing with a generic "Could not be processed" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any update on this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Before creating any objects we migrate them, so trying to import a newer object will fail the migration and therefore the The API correctly responds with:
But like @flash1293 said we don't display this to users, I'll open an issue for this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When importing using the deprecated There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Created #66387
lucabelluccini marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
* New functionalities (e.g. a new Visualization type or new options in existing visualizations) cannot be reproduced in previous versions | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
* The exported format of Saved Objects can change without notice and it is guaranteed to work only when reimported on the same (or more recent) Kibana version | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
Kibana automatically performs a Saved Object migration at every upgrade (even minor versions) due to format changes, new features or fixes. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This sounds like it should be the first sentence: Kibana automatically migrates saved objects at every upgrade, including minor versions, due to format changes, new features, and fixes. However, compatibility of a saved object exported from a newer {kib} version and imported to an older {kib} version (including patch versions) is not guaranteed: |
||||||
|
||||||
The official process to perform a Kibana downgrade is to restore a snapshot of the Kibana indices taken before the upgrade. Please **always** snapshot all the Kibana indices prior upgrading. | ||||||
rudolf marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This section would flow better under the Export section. You might also consider moving this content to this doc: https://www.elastic.co/guide/en/kibana/current/upgrade-migrations.html and then linking to it from the Saved objects doc. |
||||||
|
||||||
[float] | ||||||
==== Import | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you removed the content about downgrades, should the title be "Compatibility across versions"?