influx - InfluxDB command line interface
influx command line interface (CLI) provides an interactive shell for the HTTP API associated with
influx to write data (manually or from a file), query data interactively, and view query output in different formats.
|Display the version and exit|
|Path to add to the URL after the host and port. Specifies a custom endpoint to connect to.|
|HTTP address of InfluxDB (default: |
|Port to connect to|
|Unix socket to connect to|
|Database to connect to the server|
|Password to connect to the server. Leaving blank will prompt for password (|
|Username to connect to the server|
|Use https for requests|
|Set this when connecting to the cluster using https|
|Execute command and quit|
|Specify the query language for executing commands or when invoking the REPL.|
|Specify the format of the server responses: json, csv, or column|
|Specify the format of the timestamp: rfc3339, h, m, s, ms, u or ns|
|Set write consistency level: any, one, quorum, or all|
|Turns on pretty print for JSON format|
|Import a previous database export from file|
|Points per second the import will allow. The default is |
|Path to file to import|
|Set to true if the import file is compressed|
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.