Associate devices with a host using host-id
masterIn a Hub & Spoke deployment, use a host-id to associate devices with a friendly hostname. This ID is passed from the collector to the web-api during data upload. You can set the host-id using one of three methods:
- Collector Config File: Define it in your
collector.yaml. - CLI Argument: Use the
--host-idflag when running the collector. - Environment Variable: Set the
COLLECTOR_HOST_IDvariable.