:::caution While we have added support for configuration via YAML files in 6.3.0, the default method of configuration remains the use of environment variables set in the systemd unit file for the collector daemon. For example, /etc/systemd/system/flowcoll.service.d/flowcoll.conf for the Unified Flow Collector binary flowcoll.
In a future release, the default configuration method will be via YAML files, as described on this page. :::
ElastiFlow now supports YAML configuration files for all binaries, with a default file location of /etc/elastiflow/<binary_name>.yml. These YAML files are compatible with all existing ElastiFlow settings, which are documented in the Configuration Reference.
Although environment variables are still available for configuring the collector, the systemd attributes file may be removed in future releases.
To use a YAML file for configuration, either place it in the default location or specify a custom location with the --config or -c flag when running the binary: