influx Command Examples

InfluxDB command-line client. More information: https://docs.influxdata.com/influxdb/v1.7/tools/shell/.

influx

influx -username {{username}} -password ""

influx -host {{hostname}}

influx -database {{database_name}}

influx -execute "{{influxql_command}}"

influx -execute "{{influxql_command}}" -format {{json|csv|column}}