You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My expectation is that when i add the -i option to the influx telegrafs command, only a single telegraf config is returned.
➜ influxdb git:(master) ✗ influx telegrafs -h
List Telegraf configuration(s). Subcommands manage Telegraf configurations.
Examples:
# list all known Telegraf configurations
influx telegrafs
# list Telegraf configuration corresponding to specific ID
influx telegrafs --id $ID
# list Telegraf configuration corresponding to specific ID shorts
influx telegrafs -i $ID
Usage:
influx telegrafs [flags]
influx telegrafs [command]
Available Commands:
create Create a Telegraf configuration
rm Remove Telegraf configuration(s)
update Update a Telegraf configuration
Flags:
-c, --active-config string Config name to use for command; Maps to env var $INFLUX_ACTIVE_CONFIG
--configs-path string Path to the influx CLI configurations; Maps to env var $INFLUX_CONFIGS_PATH (default "/Users/rsavage/.influxdbv2/configs")
-h, --help Help for the telegrafs command
--hide-headers Hide the table headers; defaults false; Maps to env var $INFLUX_HIDE_HEADERS
--host string HTTP address of InfluxDB; Maps to env var $INFLUX_HOST
-i, --id string Telegraf configuration ID to retrieve.
--json Output data as json; defaults false; Maps to env var $INFLUX_OUTPUT_JSON
-o, --org string The name of the organization; Maps to env var $INFLUX_ORG
--org-id string The ID of the organization; Maps to env var $INFLUX_ORG_ID
--skip-verify Skip TLS certificate chain and host name verification.
-t, --token string Authentication token; Maps to env var $INFLUX_TOKEN
Use "influx telegrafs [command] --help" for more information about a command.
➜ influxdb git:(master) ✗ influx telegrafs
ID OrgID Name Description
03a79fae3d9f2000 03921cbebef90000 System Metrics
04c6b75311f76000 03921cbebef90000 Docker + System
04f269ca24531000 03921cbebef90000 MyData
➜ influxdb git:(master) ✗ influx telegrafs -i 03a79fae3d9f2000
ID OrgID Name Description
03a79fae3d9f2000 03921cbebef90000 System Metrics
04c6b75311f76000 03921cbebef90000 Docker + System
04f269ca24531000 03921cbebef90000 MyData
The text was updated successfully, but these errors were encountered:
My expectation is that when i add the
-i
option to theinflux telegrafs
command, only a single telegraf config is returned.The text was updated successfully, but these errors were encountered: