influxd-ctl node-labels set

The influxd-ctl node-labels set command adds or updates labels on an InfluxDB Enterprise node. Node labels appear in the output of influxd-ctl show.

Usage

influxd-ctl node-labels set [flags]

Flags

FlagDescription
-labelsJSON object of label key-value pairs
-nodeidNode ID

Examples

influxd-ctl node-labels set -nodeid 5 -labels '{"az":"us-west","nickname":"mars"}'

Was this page helpful?

Thank you for your feedback!