commands.sh

influx

all

InfluxDB v1 client.

More info →

Examples (6)

Connect to an InfluxDB running on localhost with no credentials

Connect with a specific username (will prompt for a password)

influx -username username -password ""

Connect to a specific host

Use a specific database

influx -database database_name

Execute a given command

influx -execute "influxql_command"

Return output in a specific format

influx -execute "influxql_command" -format json|csv|column
made by @shridhargupta | data from tldr-pages