Skip to content

Instantly share code, notes, and snippets.

View lukeelmers's full-sized avatar

Luke Elmers lukeelmers

View GitHub Profile
// 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