table of contents
INFLUX(1) | INFLUX(1) |
NAME¶
influx - InfluxDB client
SYNOPSIS¶
influx [options] influx -execute <command> [options] influx -import -path <path> (-compressed) [options] influx -version
DESCRIPTION¶
influx is the command line program for interacting with an InfluxDB server.
In the first form, the program starts a CLI that can be used to write data or query the database. The command line is described in COMMAND LINE.
In the second form, this will execute a single command, usually a query. This is the equivalent of starting the command line, running one command, and then exiting.
In the third form, this imports a previously exported database to the database.
The fourth form outputs the version of the command line and then immediately exits.
OPTIONS¶
-host <host>
-port <port>
-database <database>
-username <username>
-password <password>
-ssl: Use https for requests.
-unsafeSsl
-execute <command>
-format <json|csv|column>
-precision <rfc3339|h|m|s|ms|u|ns>
-consistency <any|one|quorum|all>
-pretty
-node <n>
-import
-path <path>
-pps <n>: How many points per second the import will allow. By default, it is zero and will not throttle importing.
-compressed
-version
ENVIRONMENT¶
The environment variables can be specified in lower case or upper case. The upper case version has precedence.
HTTP_PROXY [protocol://]<host>[:port]
HTTPS_PROXY [protocol://]<host>[:port]
NO_PROXY <comma-separated list of hosts>
BUGS¶
Report bugs to the GitHub issue tracker https://github.com/influxdata/influxdb.
AUTHORS¶
InfluxDB is written and maintained by InfluxData https://influxdata.com.
COPYRIGHT¶
InfluxDB is released under the MIT license.
This man page is released under Creative Commons Attribution 4.0 International License.
08/09/2024 |