Upgrade readiness status API

edit

The underlying Upgrade Assistant concepts are stable, but the APIs for managing Upgrade Assistant are experimental.

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.