Skip to content

Collects Kibana Upgrade Assistant API output #680

@Leaf-Lin

Description

@Leaf-Lin

It would be useful to see if the cluster is ready for upgrade when the version of the cluster is at latest minor (like 7.17.x)

Instead of asking for the Kibana upgrade_assistant API separately, can we run this as part of the Kibana diagnostics?

https://www.elastic.co/guide/en/kibana/8.11/upgrade-assistant-api-status.html

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

example output:

{
  "readyForUpgrade": false,
  "cluster": [
    {
      "message": "Cluster deprecated issue",
      "details":"You have 2 system indices that must be migrated and 5 Elasticsearch deprecation issues and 0 Kibana deprecation issues that must be resolved before upgrading."
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions