IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Fleet and Elastic Agent release notes

edit

This section summarizes the changes in each release.

Also see:

Fleet and Elastic Agent 9.0.0-rc1

edit
Security updates
edit
Fleet Server
  • Update Go version to 1.24.0. #4543
Elastic Agent
  • Update Go version to 1.24.0. #7248
Breaking changes
edit

Breaking changes can prevent your application from optimal operation and performance. Before you upgrade, review the breaking changes, then mitigate the impact to your application.

The Elastic Agent Docker container location has changed

The Elastic Agent Docker container is no longer availble from docker.elastic.co/beats/elastic-agent. Use docker.elastic.co/elastic-agent/elastic-agent instead.

Enhancements
edit
Elastic Agent
  • Include all metadata that is sent to Fleet in the agent-info.yaml file in diagnostics by default. #7029
  • Update OTel components to v0.120.x. #7050
  • Adds the ApiKey prefix to the the OTLP managed header configurations. #7063
  • Add MOtel sample configurations. #6841
  • Improve kubernetes_secrets provider secret logging. #6713
  • Update elastic-agent-libs to v0.18.8. #7234
  • Add an elastic.agent.fips attribute to the local_metadata sent to Fleet. #7112
Fleet Server
  • Validate pbkdf2 settings for FIPS compliance. #4542
  • Update the Elastic Agent upgrade process to prevent FIPS to non-FIPS upgrades. #7312
Bug fixes
edit
Elastic Agent
  • Change how Windows process handles are obtained when assigning sub-processes to Job objects. #6825
  • Fix a potential deadlock case in OTelManager error handling. #6927 #6119
  • Fix the TSDB version_conflict_engine_exception error caused by incorrect kube-stack Helm values. #6928
  • Make enroll command backoff more conservative. #6983
  • Add conditions to the copy_fields processor. #6730 #5299
  • Fix deadlock handling in OTelManager. #6927 #6119
  • Fix TSDB version_conflict_engine_exception caused by incorrect kube-stack Helm values. #6928
  • Add missing null checks to AST methods. #7009
  • Set the spec.replicas field to fix the deployment of the Kubernetes Otel operator. #7011
  • Fix an issue where FixPermissions on Windows incorrectly returned an error message due to improper handling of Windows API return values. #7370
  • Support IPv6 hosts in the Elastic Agent GRPC configuration. #7035
  • Support IPv6 hosts in the Elastic Agent monitoring http configuration. #7073
  • Support IPv6 hosts in the Elastic Agent enroll URL. #7036
  • Fix permissions for Windows on not found paths and files errors. #7305 #7301
  • Make otelcol executable in the Docker image. #7345 #6763
  • Fixes the Elasticsearch exporter configuration in opentelemetry-kube-stack values. #7380

Fleet and Elastic Agent 9.0.0-beta1

edit

Review important information about the Fleet and Elastic Agent 9.0.0-beta1 release.

Security updates
edit
Elastic Agent
  • Update Go version to 1.22.10. #6236
Breaking changes
edit

Breaking changes can prevent your application from optimal operation and performance. Before you upgrade, review the breaking changes, then mitigate the impact to your application.

Fleet
Removed deprecated epm Fleet APIs.

Details
Removed GET/POST/DELETE /epm/packages/:pkgkey APIs in favor of the GET/POST/DELETE /epm/packages/:pkgName/:pkgVersion:

  • Removed experimental query parameter in GET /epm/packages and GET /epm/categories
  • Removed response in response in * /epm/packages* and GET /epm/categories
  • Removed savedObject in /epm/packages response in favor of installationInfo

For more information, refer to (#198434).

Removed deprecated Fleet APIs for agents endpoints.

Details
Removed the following API endpoints:

  • POST /service-tokens in favor of POST /service_tokens
  • GET /agent-status in favor GET /agent_status
  • PUT /agents/:agentid/reassign in favor of POST /agents/:agentid/reassign

Removed deprecated parameters or responses:

  • Removed total from GET /agent_status response
  • Removed list from GET /agents response

For more information, refer to (#198313).

Elastic Agent
  • Support for cloud-defend (Defend for Containers) has been removed in this release. The package has been removed from the Elastic Agent packaging scripts and template Kubernetes files. #5481
  • The default values for username and password have been removed for when Elastic Agent is running in container mode. The Elasticsearch api_key can now be set in that mode using the ELASTICSEARCH_API_KEY environment variable. #5536
  • The default Ubuntu-based Docker images used for Elastic Agent have been changed to UBI-minimal-based images, to reduce the overall footprint of the agent Docker images and to improve compliance with enterprise standards. #6427
  • The deprecated --path.install flag declaration has been removed from the Elastic Agent paths command and its use removed from the container and enroll commands. #6461 #2489
  • The default Elastic Agent installation and ugprade have been changed to include only the agentbeat, endpoint-security and pf-host-agent components. Additional components can be included using flags. #6542
New features
edit

The 9.0.0-beta1 release Added the following new and notable features.

Fleet
  • Add new setting allowing automatic deletion of unenrolled agents in Fleet settings. (#195544)
Elastic Agent
  • Add the Azure Asset Inventory definition to Cloudbeat. #5323
  • Add a new Kubernetes deployment of the Elastic Distribution of OTel Collector named "gateway" to the Helm kube-stack deployment. #6444
  • Add the filesource providert to composable inputs. The provider watches for changes of the files and updates the values of the variables when the content of the file changes. #6587 #6362
  • Add the jmxreceiver to the Elastic Distribution of OTel Collector. #6601
  • Add support for context variables in outputs as well as a default provider prefix. #6602 #6376
  • Add the Nginx receiver and Redis receiver OTel components. #6627
  • Add new --id (ELASTIC_AGENT_ID environment variable for container) and --replace-token (FLEET_REPLACE_TOKEN environment variable for container) enrollment options. #6498
Enhancements
edit
Fleet
  • Improve filtering and visibility of Uninstalled and Orphaned agents in Fleet, by differentiating them from Offline agents. (#205815)
  • Introduce air-gapped configuration for bundled packages. (#202435)
  • Update removed parameters of the Fleet → Logstash output configurations. (#210115)
  • Update the maximum supported package version. (#196675)
Fleet Server
  • Replace the use of context.TODO and context.Background in logger function calls for most use cases. #4168 #3087
  • Refactor the API constructor to use functional opts instead of a long list of pointers. #4169 #3823
  • Remove the deprecated policy_throttle configuration setting in favour of the newer policy-limit. #4288
  • Add the ability for Elastic Agent to enroll using a specific ID. #4290 #4226
Elastic Agent
  • Add the Filebeat receiver into Elastic Agent. #5833
  • Update OTel components to v0.119.0. #6713
Bug fixes
edit
Fleet
  • Fix a validation error that occurs on multi-text input fields. (#205768)
Fleet Server
  • Adding a context timeout to the bulker flush so it times out if it takes more time than the deadline. #3986
  • Remove a race condition that may occur when remote Elasticsearch outputs are used. #4171
  • Use the chi/middleware.Throttle package to track in-flight requests and return a 429 response when the limit is reached. #4402 #4400
Elastic Agent
  • Fix logical race conditions in the kubernetes_secrets provider. #6623
  • Resolve the proxy to inject into agent component configurations using the Go http package. #6675 #6209