Fleet and Elastic Agent 8.11.3

edit

Review important information about Fleet Server and Elastic Agent for the 8.11.3 release.

Known issues

edit
Current stack version is not in the list of Elastic Agent versions in Kibana Fleet UI

Details

On the Fleet UI in Kibana:

  • When adding a new Elastic Agent, the user interface shows a previous version instead of the current version.
  • When you attempt an upgrade, the modal window shows an earlier version as the latest version.

Impact

You can use the following steps as a workaround:

When upgrading Elastic Agent currently on versions 8.10.4 or earlier (simpler)

  1. Open the Fleet UI. Under the Agents tab select Upgrade agent from the actions menu. The version field in the Upgrade agent UI allows you to enter any version.
  2. Enter 8.11.0 or whichever version you want to upgrade the Elastic Agents to. Do not choose a version later than the version of Kibana or Fleet Server that you’re running.

When upgrading Elastic Agent currently on any version (more complex, requires API)

  1. Open Kibana and navigate to Management → Dev Tools.
  2. Choose one of the API requests below and submit it through the console. Each of the requests uses version 8.11.0 as an example, but this can be changed to any available version.

    • To upgrade a single Elastic Agent to any version, run:

      POST kbn:/api/fleet/agents/<Elastic Agent ID>/upgrade
      {"version":"8.11.0"}
    • To upgrade a set of Elastic Agents based on a known set of agent IDs, run:

      POST kbn:/api/fleet/agents/bulk_upgrade
      {
        "version":"8.11.0",
        "agents":["<Elastic Agent ID>","<Another Elastic Agent ID>"],
        "start_time":"2023-11-10T09:41:39.850Z"
      }
    • To upgrade a set of Elastic Agents running a specific policy, and below a specific version (for example, 8.11.0), run:

      POST kbn:/api/fleet/agents/bulk_upgrade
      {
        "agents": "fleet-agents.policy_id:<Elastic Fleet Policy ID> and fleet-agents.agent.version<<VERSION>",
        "version": "8.11.0"
      }
      POST kbn:/api/fleet/agents/bulk_upgrade
      {
        "agents": "fleet-agents.policy_id:uuid1-uuid2-uuid3-uuid4 and fleet-agents.agent.version<8.11.0",
        "version": "8.11.0"
      }

To find the ID for any Elastic Agent, open the Agents tab in Fleet and select View agent from the Actions menu. The agent ID and other details are shown.

To learn more about these requests, refer to the Fleet API documentation.

Security updates

edit
Elastic Agent
The 8.11.3 patch release contains a fix for a potential security vulnerability. Please see our security advisory for more details.

Bug fixes

edit
Fleet
  • Fix a 500 error in the Fleet API when a request for the product versions endpoint throws ECONNREFUSED. (#172850)
  • Fix Elastic Agent policy timeout to accept only integers. (#172222)