TELEMETRY PIPELINE
Add fleet configuration files

Add fleet configuration files

You can add a variety of configuration files to a fleet, including parsers, Lua scripts, and authentication tokens. After you add a file to a fleet, every agent in that fleet updates its configuration settings and downloads the new file.

To add files to a fleet through Pipeline CLI, run the following command:

calyptia create fleet_file --fleet NAME --file FILE

Replace the following:

  • NAME: The name of the fleet to which your file will be added.
  • FILE: The name of the Fluent Bit or Core Agent configuration file to add to your fleet.

For example, to add a parser file to a fleet:

$ cat << EOF > fluent-bit.yaml
service:
  flush: 1
  log_level: info
  http_server: true
  http_listen: 0.0.0.0
  http_port: 2020
 
pipeline:
  inputs:
    - name: random
 
  outputs:
    - name: stdout
      match: '*'
EOF
 
$ calyptia create fleet --name yaml-fleet --config-file fluent-bit.yaml