- Kibana Guide: other versions:
- What is Kibana?
- What’s new in 8.7
- Kibana concepts
- Quick start
- Set up
- Install Kibana
- Configure Kibana
- Alerting and action settings
- APM settings
- Banners settings
- Enterprise Search settings
- Fleet settings
- i18n settings
- Logging settings
- Logs settings
- Metrics settings
- Monitoring settings
- Reporting settings
- Search sessions settings
- Secure settings
- Security settings
- Spaces settings
- Task Manager settings
- Telemetry settings
- URL drilldown settings
- Start and stop Kibana
- Access Kibana
- Securing access to Kibana
- Add data
- Upgrade Kibana
- Configure security
- Configure reporting
- Configure logging
- Configure monitoring
- Command line tools
- Production considerations
- Discover
- Dashboard and visualizations
- Canvas
- Maps
- Build a map to compare metrics by country or region
- Track, visualize, and alert on assets in real time
- Map custom regions with reverse geocoding
- Heat map layer
- Tile layer
- Vector layer
- Plot big data
- Search geographic data
- Configure map settings
- Connect to Elastic Maps Service
- Import geospatial data
- Troubleshoot
- Reporting and sharing
- Machine learning
- Graph
- Alerting
- Observability
- APM
- Security
- Dev Tools
- Fleet
- Osquery
- Stack Monitoring
- Stack Management
- REST API
- Get features API
- Kibana spaces APIs
- Kibana role management APIs
- User session management APIs
- Saved objects APIs
- Data views API
- Index patterns APIs
- Alerting APIs
- Action and connector APIs
- Cases APIs
- Add comment
- Create case
- Delete cases
- Delete comments
- Find case activity
- Find cases
- Find connectors
- Get alerts
- Get case activity
- Get case
- Get case status
- Get cases by alert
- Get comments
- Get configuration
- Get reporters
- Get tags
- Push case
- Set configuration
- Update cases
- Update comment
- Update configuration
- Import and export dashboard APIs
- Logstash configuration management APIs
- Machine learning APIs
- Osquery manager API
- Short URLs APIs
- Get Task Manager health
- Upgrade assistant APIs
- Kibana plugins
- Troubleshooting
- Accessibility
- Release notes
- Developer guide
Roll back to a previous version of Kibana
editRoll back to a previous version of Kibana
editIf you’ve followed preparing for migration and resolving migration failures, and Kibana is still unable to successfully upgrade, rollback Kibana until you’re able to identify and fix the root cause.
Before you roll back Kibana, ensure that the version you want to roll back to is compatible with your Elasticsearch cluster. If the version you want to roll back to is not compatible, you must also rollback Elasticsearch. Any changes made after an upgrade are lost when you roll back to a previous version.
To roll back after a failed upgrade migration, you must also roll back the Kibana feature state to be compatible with the previous Kibana version.
Roll back by restoring the Kibana feature state from a snapshot
edit-
Before proceeding, take a snapshot that contains the
kibana
feature state. By default, snapshots include thekibana
feature state. - To make sure no Kibana instances are performing an upgrade migration, shut down all Kibana instances.
-
Restore the
kibana
feature state from a snapshot taken before the failed Kibana upgrade. The following Elasticsearch request will only restore the Kibana feature state - Start all Kibana instances on the older version you want to rollback to.
(Not supported) Roll back without a backup snapshot
editRolling back without a backup snapshot is not supported and will be removed in a future version of Kibana.
- To make sure no Kibana instances are performing an upgrade migration, shut down all Kibana instances.
-
Take a snapshot that includes the
kibana
feature state. By default, snapshots include thekibana
feature state. -
Delete the version-specific indices created by the failed upgrade migration.
For example, to rollback from a failed upgrade to v7.12.0, enter:
DELETE /.kibana_7.12.0_*,.kibana_task_manager_7.12.0_*
-
Inspect the output of
GET /_cat/aliases
.If the
.kibana
or.kibana_task_manager
aliases are missing, you must create them manually. Find the latest index from the output ofGET /_cat/indices
and create the missing alias to point to the latest index. For example, if the.kibana
alias is missing, and the latest index is.kibana_3
, create a new alias using:POST /.kibana_3/_aliases/.kibana
-
To remove the write block from the roll back indices, enter:
PUT /.kibana,.kibana_task_manager/_settings {"index.blocks.write": false}
- Start Kibana on the older version you want to roll back to.
On this page