This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This script lets you manually apply the saved object migration added in | |
| // https://github.com/elastic/kibana/pull/80780. Useful if you need to upgrade | |
| // Kibana from pre-7.3 to a version between 7.3 and 7.10.1 | |
| // | |
| // Please refer to the original issue to understand if you need this script: | |
| // https://github.com/elastic/kibana/issues/76590 | |
| // | |
| // 1. Save this script as `migrate.js` | |
| // 2. Export visualizations saved objects from Kibana management UI & keep a backup copy | |
| // 3. Update INPUT_FILE in the script to point to the export file you just downloaded, and save |