influx - InfluxDB command line interface
See the equivalent InfluxDB v2 documentation: influx - InfluxDB command line interface.
influx command line interface (CLI) includes commands to manage many aspects of InfluxDB, including databases, organizations, users, and tasks.
|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 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:
Customers with an annual or support contract can contact InfluxData Support.