INFLUX(1)
π« INFLUX(1) β the InfluxDB client, bestie edition π«
okay so real talk, this is your manual page for influx, the manual name is INFLUX(1) and like, it's giving "command line bestie for InfluxDB." stay with me, we're gonna go through it together π«Ά
β¨ NAME β¨
influx β the InfluxDB client. that's it, that's the vibe. π
π SYNOPSIS π
influx [options]
influx -execute <command> [options]
influx -import -path <path> (-compressed) [options]
influx -version
πΈ DESCRIPTION πΈ
so influx is literally the command line program you use to talk to an InfluxDB server. main character energy, honestly. π
here's the four forms, bestie:
- first form β the program starts a CLI that you can use to write data or query the database. the command line is described in
COMMAND LINE, so go read that if you wanna know more iykyk. - second form β this executes a single command, usually a query. it's lowkey the equivalent of starting the command line, running one command, and then exiting. one and done, periodt.
- third form β this imports a previously exported database to the database. cute little database glow-up β¨
- fourth form β outputs the version of the command line and then immediately exits. bye girlie π
π OPTIONS π
okay this is the part you're really here for, no cap. every single flag, every detail:
-host <host>β host to connect to. default islocalhost. that's where your server lives, bestie π-port <port>β port to use when connecting to the host. default is8086. iconic number fr fr.-database <database>β database to use when connecting to the database. the way this one just picks your db for you π-username <username>β username to connect to the server. your lil identity, slay.-password <password>β password to connect to the server. if left blank, this will prompt for a password. so you won't be out here leaking it in your shell history, we love safety π-sslβ use https for requests. secure connections only, periodt π-unsafeSslβ set this with-sslto allow unsafe connections. careful bestie, this is the "i trust this server with my life" button π-execute <command>β executes the command and exits. hit it and quit it, one-shot style π₯-format <json|csv|column>β sets the format of the server responses. default iscolumn. pick your aesthetic π-precision <rfc3339|h|m|s|ms|u|ns>β specifies the format of the timestamp. default isns. time is a construct but the units are real β°-consistency <any|one|quorum|all>β set the write consistency level. default isone. how many nodes gotta agree before it counts, you know? π«Ά-prettyβ turns on pretty print format for the JSON format. make it cute, make it readable π-node <n>β specifies the data node that should be queried for data. this option is only valid on enterprise clusters. fancy enterprise behavior only, iykyk π-importβ import a previous database export from a file. if specified,-path <path>must also be specified. no path, no import, that's the rule π¨-path <path>β path to the database export file to import. must be used with-import. they're a package deal, bestie π-pps <n>β how many points per second the import will allow. by default, it is zero and will not throttle importing. so zero means go fast, no brakes ποΈ-compressedβ set if the import file is compressed. must be used with-import. zip it up, import it out π¦-versionβ outputs the version of the influx client. lil flex of what you're running β
π ENVIRONMENT π
the environment variables can be specified in lower case or upper case. the upper case version has precedence. so HTTP_PROXY beats http_proxy, periodt. π
HTTP_PROXY[protocol://]<host>[:port]β sets the proxy server to use for HTTP. your HTTP traffic's designated driver πHTTPS_PROXY[protocol://]<host>[:port]β sets the proxy server to use for HTTPS. takes precedence overHTTP_PROXYfor HTTPS. so for HTTPS, this one is the main character πNO_PROXY<comma-separated list of hosts>β list of host names that shouldn't go through any proxy. if set to an asterisk'*'only, it matches all hosts. the "nope, not you" list, iconic honestly π«
π BUGS π
report bugs to the GitHub issue tracker at https://github.com/influxdata/influxdb. bestie if something's broken, tell the devs, don't suffer in silence π
π§ AUTHORS π§
InfluxDB is written and maintained by InfluxData at https://influxdata.com. they're the blueprint, honestly. π«Ά
π COPYRIGHT π
InfluxDB is released under the MIT license. slay, open source queen π
this man page is released under Creative Commons Attribution 4.0 International License. go share it, credit it, live your truth β¨
and that's the whole thing bestie, no cap fr fr. this was INFLUX(1), dated 08/09/2024, straight from the INFLUX(1) source. mwah, go query something gorgeous ππΈπ¦
π¦ where this page comes from
- opensuse-leap 16.0: influxdb 1.11.6-bp160.1.32 Β· MIT
- opensuse-leap 16.0: influxdb 1.11.6-bp160.1.32 Β· MIT
- opensuse-leap 16.0: influxdb 1.11.6-bp160.1.32 Β· MIT
- opensuse-leap 16.0: influxdb 1.11.6-bp160.1.32 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms