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

889 B
Raw Blame History

title description menu weight v2.0/tags
influx query Execute queries from the influx CLI 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
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.

Usage

influx query [query literal or @/path/to/query.flux] [flags]

Flags

Flag Description Input type
-h, --help Help for the query command
--org-id The organization ID string

{{% influx-cli-global-flags %}}