Forrest logo
tool overview
On this page you find all important commands for the CLI tool influx. If the command you are looking for is missing please ask our AI.

influx

Influx is a command line tool for interacting with InfluxDB, an open-source time series database. It allows users to manage and query the database from the command line interface. With Influx, users can create databases, manage retention policies, and define measurement schemas. It provides various commands for querying data, such as SELECT, SHOW, and DESCRIBE, allowing users to retrieve specific data based on their requirements. Influx allows users to insert, update, and delete data points in the database using the INSERT and DELETE commands. It also supports creating continuous queries, which can be used to create and aggregate data from existing measurements. Influx provides authentication options to secure the database access, including username/password authentication, SSL/TLS, and token-based authentication. It supports importing and exporting data in various formats, such as CSV, JSON, and InfluxDB Line Protocol. Influx provides a REPL (Read-Eval-Print Loop) interface, which allows users to interactively enter commands and receive immediate feedback. It supports scripting and automation through the use of scripts, allowing users to execute a sequence of Influx commands in a batch.

List of commands for influx:

  • influx:tldr:2a14b influx: Connect with a specific username (will prompt for a password).
    $ influx -username ${username} -password ""
    try on your machine
    explain this command
  • influx:tldr:48a32 influx: Execute a given command.
    $ influx -execute "${influxql_command}"
    try on your machine
    explain this command
  • influx:tldr:6ab27 influx: Return output in a specific format.
    $ influx -execute "${influxql_command}" -format ${select}
    try on your machine
    explain this command
  • influx:tldr:86029 influx: Connect to a specific host.
    $ influx -host ${hostname}
    try on your machine
    explain this command
  • influx:tldr:92de2 influx: Connect to an InfluxDB running on localhost with no credentials.
    $ influx
    try on your machine
    explain this command
  • influx:tldr:f52b3 influx: Use a specific database.
    $ influx -database ${database_name}
    try on your machine
    explain this command
tool overview