InfluxDB Docs

influx pkg new

The influx pkg new command creates a reusable package that create resources in a declarative manner.

Usage

influx pkg new [flags]

Flags

FlagDescriptionInput Type
-d, --descriptionPackage descriptionstring
-f, --filePackage output file. Defaults to stdout. Use .yml or .json file extensions.string
-h, --helpHelp for the new command
-n, --namePackage namestring
-q, --quietSkip interactive mode
-v, --versionPackage versionstring

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