title |
description |
menu |
weight |
related |
influxd-ctl node-labels set |
The `influxd-ctl node-labels set` command adds or updates labels on an InfluxDB Enterprise node.
|
enterprise_influxdb_v1 |
parent |
influxd-ctl node-labels |
|
|
201 |
/enterprise_influxdb/v1/administration/manage/node-labels/ |
/enterprise_influxdb/v1/tools/influxd-ctl/show/ |
|
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
Flag |
Description |
-labels |
JSON object of label key-value pairs |
-nodeid |
Node ID |
{{% caption %}}
See influxd-ctl
global flags.
{{% /caption %}}
Examples
influxd-ctl node-labels set -nodeid 5 -labels '{"az":"us-west","nickname":"mars"}'