Fleet and Elastic Agent release notes
editFleet and Elastic Agent release notes
editThis section summarizes the changes in each release.
Also see:
Fleet and Elastic Agent 9.0.0-rc1
editSecurity updates
editBreaking changes
editBreaking 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.yamlfile 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_secretsprovider secret logging. #6713 -
Update
elastic-agent-libsto v0.18.8. #7234 -
Add an
elastic.agent.fipsattribute to thelocal_metadatasent to Fleet. #7112
-
Include all metadata that is sent to Fleet in the
- Fleet Server
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_exceptionerror caused by incorrectkube-stackHelm values. #6928 - Make enroll command backoff more conservative. #6983
-
Add conditions to the
copy_fieldsprocessor. #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.replicasfield to fix the deployment of the Kubernetes Otel operator. #7011 -
Fix an issue where
FixPermissionson 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
otelcolexecutable in the Docker image. #7345 #6763 -
Fixes the Elasticsearch exporter configuration in
opentelemetry-kube-stackvalues. #7380
Fleet and Elastic Agent 9.0.0-beta1
editReview 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
editBreaking 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
experimentalquery parameter inGET /epm/packagesandGET /epm/categories -
Removed
responsein response in* /epm/packages*andGET /epm/categories -
Removed
savedObjectin/epm/packagesresponse in favor ofinstallationInfo
For more information, refer to (#198434).
Removed deprecated Fleet APIs for agents endpoints.
Details
Removed the following API endpoints:
-
POST /service-tokensin favor ofPOST /service_tokens -
GET /agent-statusin favorGET /agent_status -
PUT /agents/:agentid/reassignin favor ofPOST /agents/:agentid/reassign
Removed deprecated parameters or responses:
-
Removed
totalfromGET /agent_statusresponse -
Removed
listfromGET /agentsresponse
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
usernameandpasswordhave been removed for when Elastic Agent is running in container mode. The Elasticsearchapi_keycan now be set in that mode using theELASTICSEARCH_API_KEYenvironment 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.installflag declaration has been removed from the Elastic Agentpathscommand and its use removed from thecontainerandenrollcommands. #6461 #2489 -
The default Elastic Agent installation and ugprade have been changed to include only the
agentbeat,endpoint-securityandpf-host-agentcomponents. Additional components can be included using flags. #6542
-
Support for
New features
editThe 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_IDenvironment variable for container) and--replace-token(FLEET_REPLACE_TOKENenvironment variable for container) enrollment options. #6498
Enhancements
edit- Fleet
-
-
Improve filtering and visibility of
UninstalledandOrphanedagents in Fleet, by differentiating them fromOfflineagents. (#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)
-
Improve filtering and visibility of
- Fleet Server
-
-
Replace the use of
context.TODOandcontext.Backgroundin 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_throttleconfiguration setting in favour of the newerpolicy-limit. #4288 - Add the ability for Elastic Agent to enroll using a specific ID. #4290 #4226
-
Replace the use of
- Elastic Agent
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.Throttlepackage to track in-flight requests and return a 429 response when the limit is reached. #4402 #4400
- Elastic Agent