InfluxDB Docs

influx task create

The influx task create command creates a new task in InfluxDB.

Usage

influx task create [query literal] [flags]

Flags

FlagDescriptionInput typeMaps to ?
-f, --filePath to Flux script filestring
-h, --helpHelp for the create command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
--orgOrganization namestringINFLUX_ORG
--org-idOrganization IDstringINFLUX_ORG_ID

Global Flags

FlagDescriptionInput typeMaps to ?
--hostHTTP address of InfluxDB (default http://localhost:9999)stringINFLUX_HOST
--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 callsstringINFLUX_TOKEN

New! Cloud or OSS?