influx telegrafs

The influx telegrafs command lists Telegraf configurations. Subcommands manage Telegraf configurations.

Usage

  1. influx telegrafs [flags]
  2. influx telegrafs [command]

Subcommands

SubcommandDescription
createCreate a Telegraf configuration
rmRemove a Telegraf configuration
updateUpdate a Telegraf configuration

Flags

FlagDescriptionInput typeMaps to ?
-c—active-configCLI configuration to use for commandstring
—configs-pathPath to influx CLI configurations (default ~/.influxdbv2/configs)stringINFLUX_CONFIGS_PATH
-h—helpHelp for the telegrafs command
—hide-headersHide table headersINFLUX_HIDE_HEADERS
-i—idTelegraf configuration ID to retrievestring
—jsonOutput data as JSONINFLUX_OUTPUT_JSON
-o—orgOrganization namestringINFLUX_ORG
—org-idOrganization IDstringINFLUX_ORG_ID

Examples

  1. # List all known Telegraf configurations
  2. influx telegrafs
  3. # List only a Telegraf configuration with the specified ID
  4. influx telegrafs -i $ID