[Ingest] Support agent config versioning #56750
Labels
Feature:EPM
Fleet team's Elastic Package Manager (aka Integrations) project
Feature:Fleet
Fleet team's agent central management project
Team:Fleet
Team label for Observability Data Collection Fleet team
Description
We should allow versioning of AgentConfigs.
The version should be visible in fleet UIs, and send to the agent during checkin, also agents could report the config version they are running when they checkin.
Data model update
We should use_version
of saved object,Every-time we modify a datasource we should upgrade AgentConfig_version
Edit: as of ES 7.0+,
_version
is no longer a simple incremented number. Therefore we should implement our ownrevision
property as a custom saved object attribute.API update
revision
property to agent configs and datasources. When a datasource is created/updated/removed, its associated agent config revision should also be bumped. Done in [Ingest] Addrevision
to agent configs & data sources #59848config_revision
property to agents and make sure agent sends and update this information on ack of config change.UI update
revision
to agent configs & data sources #59848The text was updated successfully, but these errors were encountered: