title |
description |
menu |
weight |
v2.0/tags |
influx query |
The `influx query` command executes a literal Flux query provided as a string or a literal Flux query contained in a file by specifying the file prefixed with an '@' sign.
|
v2_0_ref |
name |
parent |
influx query |
influx |
|
|
101 |
|
The influx query
command executes a literal Flux query provided as a string
or a literal Flux query contained in a file by specifying the file prefixed with an @
sign.
Usage
influx query [query literal] [flags]
Flags
Flag |
|
Description |
Input type |
{{< cli/mapped >}} |
|
--configs-path |
Path to influx CLI configurations (default ~/.influxdbv2/configs ) |
string |
INFLUX_CONFIGS_PATH |
-f |
--file |
Path to Flux script file |
string |
|
-h |
--help |
Help for the query command |
|
|
|
--host |
HTTP address of InfluxDB (default http://localhost:9999 ) |
string |
INFLUX_HOST |
-o |
--org |
Organization name |
string |
INFLUX_ORG |
|
--org-id |
Organization ID |
string |
INFLUX_ORG_ID |
|
--skip-verify |
Skip TLS certificate verification |
|
|
-t |
--token |
Authentication token |
string |
INFLUX_TOKEN |