Skip to content

[REQUEST]: Document —id and —replace-token options for enrolling Elastic Agent with Fleet Server #2491

@vishaangelova

Description

@vishaangelova

Description

Document the following new options when enrolling an Elastic Agent with Fleet Server:

  • —-id (the ELASTIC_AGENT_ID container environment variable)
  • --replace-token (the FLEET_REPLACE_TOKEN container environment variable)

Details:

Allows an Elastic Agent to enroll with a defined ID and replacement token so that it can replace an existing Elastic Agent. The original Elastic Agent must have also been enrolled with the same --replace-token or the new Elastic Agnet will not be allowed to enroll if the —-id collides with an existing Elastic Agent.

Resources

elastic/elastic-agent#6361
elastic/elastic-agent#6498

Collaboration

The documentation team will investigate the issue and create the initial content.

Point of contact.

Main contact: @blakerouse @nimarezainia

Stakeholders: @elastic/fleet @elastic/elastic-agent

Metadata

Metadata

Assignees

Labels

Team:IngestIssues owned by the Ingest Docs TeamdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions