Back to Influxdb

Retrieve

content/shared/influxdb-v2/reference/cli/influx/scripts/retrieve.md

latest1.9 KB
Original Source

The influx scripts retrieve command retrieves invokable script information from InfluxDB.

Usage

influx scripts retrieve [flags]

Flags

FlagDescriptionInput type{{< cli/mapped >}}
-c--active-configCLI configuration to use for commandstring
--configs-pathPath to influx CLI configurations (default ~/.influxdbv2/configs)stringINFLUX_CONFIGS_PATH
-h--helpHelp for the delete command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
--hostHTTP address of InfluxDB (default http://localhost:8086)stringINFLUX_HOST
--http-debugInspect communication with InfluxDB servers.string
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
-i--scriptID({{< req >}}) Script IDstring
--skip-verifySkip TLS certificate verificationINFLUX_SKIP_VERIFY
-t--tokenAPI tokenstringINFLUX_TOKEN

Examples

{{< cli/influx-creds-note >}}

Retrieve a script
sh
influx scripts retrieve -i 0Xx0oox00XXoxxoo1