influx - InfluxDB command line interface
influx command line interface (CLI) includes commands to manage many aspects of InfluxDB,
including buckets, organizations, users, tasks, etc.
influx [flags] influx [command]
Store your InfluxDB authentication token
To avoid having to pass your InfluxDB authentication token
influx command, use one of the following methods to store your token:
INFLUX_TOKENenvironment variable using your token.
Store your token in
~/.influxdbv2/credentials. The content of the
credentialsfile should be only your token.
Note: If you set up InfluxDB using the CLI, InfluxDB stores your token in the credentials files automatically.
See View tokens for information about retrieving authentication tokens.
|auth||Authorization management commands|
|bucket||Bucket management commands|
|help||Help about any command|
|org||Organization management commands|
|query||Execute a Flux query|
|repl||Interactive REPL (read-eval-print-loop)|
|setup||Create default username, password, org, bucket, etc.|
|task||Task management commands|
|user||User management commands|
|write||Write points to InfluxDB|
|Help for the influx command|
|HTTP address of InfluxDB (default ||string|
|Run commands locally against the filesystem|
|API token to be used throughout client calls||string|
Bug Reports and Feedback
Thank you for being willing to help test InfluxDB v2.0 alpha! Feedback and bug reports are welcome and encouraged both for InfluxDB and this documentation. Submit feedback using one of the following methods:
- Post in the InfluxData Community
- In the InfluxDB UI, click Feedback in the left navigation bar.