Upgrade readiness status API

edit

Upgrade readiness status API

edit

[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Check the status of your cluster.

Request

edit

GET <kibana host>:<port>/api/upgrade_assistant/status

Response codes

edit
200
Indicates a successful call.

Example

edit

The API returns the following:

{
  "readyForUpgrade": false,
  "cluster": [
    {
      "message": "Cluster deprecated issue",
      "details": "...",
      "level": "warning",
      "url": "https://docs.elastic.co/..."
    }
  ],
  "indices": [
    {
      "message": "Index was created before 6.0",
      "details": "...",
      "index": "myIndex",
      "level": "critical",
      "reindex": true, 
      "url": "https://docs.elastic.co/..."
    }
  ]
}

To fix indices with the reindex attribute, set to true using the Start or resume reindex API.