docs-v2/content/v2.0/reference/cli/influx/repl/_index.md

1.4 KiB
Raw Blame History

title description menu weight v2.0/tags
influx repl Enter an interactive REPL The 'influx repl' command opens and interactive read-eval-print-loop (REPL) from which you can run Flux commands.
v2_0_ref
name parent
influx repl influx
101
query

The influx repl command opens and interactive read-eval-print-loop (REPL) from which you can run Flux commands.

Usage

influx repl [flags]

{{% note %}} Use ctrl + d to exit the REPL. {{% /note %}}

To use the Flux REPL, you must first authenticate with a token.

Flags

Flag Description Input type
-h, --help Help for the repl command
-o, --org The name of the organization string
--org-id The ID of organization to query string

Global flags

Global flag Description Input type
--host HTTP address of InfluxDB (default http://localhost:9999) string
--local Run commands against the local filesystem
-t, --token API token to use in client calls string