From 707db4b5b23b35ee5bee16b87d6e0d856369c37f Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 25 Nov 2019 01:19:26 +0000 Subject: [PATCH] influx: add page (#3605) --- pages/common/influx.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/influx.md diff --git a/pages/common/influx.md b/pages/common/influx.md new file mode 100644 index 0000000000..d7309038ca --- /dev/null +++ b/pages/common/influx.md @@ -0,0 +1,28 @@ +# influx + +> InfluxDB command-line client. +> More information: . + +- Connect to an InfluxDB running on localhost with no credentials: + +`influx` + +- Connect with a specific username (will prompt for a password): + +`influx -username {{username}} -password ""` + +- Connect to a specific host: + +`influx -host {{hostname}}` + +- 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}}`