将config和data中的内容全部拷贝到新的版本对应目录下,重启Kibana。
##官网描述
Upgrade using a zip or tar.gz archiveedit
- Extract the
ziportar.gzarchive to a new directory to be sure that you don’t overwrite theconfigordatadirectories.
If you use monitoring features, you must re-use the data directory when you upgrade Kibana. Otherwise, the Kibana instance is assigned a new persistent UUID and becomes a new instance in the monitoring data. - Copy the files from the
configdirectory from your old installation to your new installation. Make sure you remove or update any configurations that are indicated in the breaking changes documentation otherwise Kibana will fail to start. - Copy the files from the
datadirectory from your old installation to your new installation. - Install the appropriate versions of all your plugins for your new installation using the
kibana-pluginscript. Check out the plugins documentation for more information. - Stop the old Kibana process. If you have multiple Kibana instances connecting to the same Elasticsearch cluster ensure that all instances are stopped before proceeding to the next step to avoid data loss.
- Start the new Kibana process.
