InfluxDB Docs

influx pkg – package management commands

The influx pkg command manages packages in InfluxDB.

Usage

influx pkg [flags]
influx pkg [command]

Available commands

CommandDescription
exportExport existing resources as a package
summarySummarize the provided package
validateValidate the provided package

Flags

FlagDescriptionInput Type
-c, --disable-colorDisable color in output
--disable-table-bordersDisable table borders
-e, --encodingEncoding of the input streamstring
--env-refEnvironment references to provide alongside the package (format: --env-ref=REF_KEY=REF_VALUE)string
-f, --filePath to package filestring
--forceIgnore warnings about destructive changes
-h, --helpHelp for the pkg command
-o, --orgThe name of the organization that owns the bucketstring
--org-idThe ID of the organization that owns the bucketstring
-q, --quietDisable output printing
-R, --recurseRecurse through files in the directory specified in -f, --file
--secretSecrets to provide alongside the package (format: --secret=SECRET_KEY=SECRET_VALUE)string
-u, --urlURL of package filestring

Global Flags

FlagDescriptionInput type
--hostHTTP address of InfluxDB (default http://localhost:9999)string
--localRun commands against the local filesystem
--skip-verifySkip certificate verification (use when connecting over TLS with a self-signed certificate)
-t, --tokenAPI token to use in client callsstring