Release Announcement: InfluxDB CLI 2.2.0

Navigate to:

A new release for InfluxDB Command Line Tools (CLI) is now available.

This release includes the following new features and bug fixes.

Features

This release makes it easier to create API tokens with the influx CLI, adds support for viewing more than 20 buckets using influx bucket list, and adds a shorthand flag for bucket (-b) to influx delete.

Create an All-Access token in the Influx CLI

We added the ability to use the Influx CLI to create an All-Access API token with read and write permissions to all resources in an Organization.

View more buckets in the Influx CLI

We updated influx bucket list with pagination to support displaying more than 20 buckets. By default, buckets are fetched in batches of 20; set --page-size to override this default value. You may also limit the total number of buckets to display with --limit (by default, there’s no limit).

New bucket shorthand for influx delete

Add the shorthand flag -b for --bucket to influx delete.

Bug fixes

  • We now detect and warn when the Operator token is changed using influx restore (either setting a new --active config or updating the INFLUX_TOKEN variable).
  • The CLI now automatically sets the newly-created connection configuration as active in influx setup.
  • We have embedded the timezone data into Windows builds to avoid errors.

The latest open source release can be found on our downloads page.

If you find issues or have questions, please join our InfluxDB Community Slack, post them in our InfluxDB GitHub Repo or our Community Site and we will take a look.