Add an agent to a fleet
After you've created a fleet, you can add telemetry agents to that fleet.
Add a Fluent Bit agent
Requires Fluent Bit v2.1.8 or later.
To add a Fluent Bit agent to a fleet:
-
Update the
[CUSTOM]
section in the configuration file for that agent.[CUSTOM] Name calyptia API_Key KEY Fleet_Name NAME
Replace the following values:
KEY
: The API token you use to authenticate with Telemetry Pipeline.NAME
: The name of the fleet to which your agent will be added.
-
Run the following command:
fluent-bit -c CONFIG
Replace
CONFIG
with the name of the configuration file you updated in the previous step.
Add a Core Agent
Requires Core Agent v23.4.5 or later.
To add an instance of Core Agent to a fleet:
-
Update the
[CUSTOM]
section in the configuration file for that agent.[CUSTOM] Name calyptia API_Key KEY Fleet_Name NAME
Replace the following values:
KEY
: The API token you use to authenticate with Telemetry Pipeline.NAME
: The name of the fleet to which your agent will be added.
-
Run the following command:
calyptia-fluent-bit -c CONFIG
Replace
CONFIG
with the name of the configuration file you updated in the previous step.