InfluxDB templates in InfluxDB Cloud

To use templates in InfluxDB Cloud, you have a couple options:

Install and customize a template in the Cloud UI

To ensure the template works, complete the ReadMe instructions after installing a template. For example, you may need to configure telegraf to write specific data to your Cloud instance before the template can be used.

  1. Under Settings icon in the navigation bar.

  2. Click Templates.

  3. (Optional) If you already have a template URL, you can skip this step. Click Browse Community Templates to explore templates and obtain a template URL (YAML or JSON file).

  4. Enter the URL to the template’s YAML or JSON file (from the InfluxData Community Templates repository), and then click Lookup Template. The Template Installer displays the template name and the number of resources included in the template (for example, dashboards, Telegraf configurations, buckets, and more).

  5. Click Install Template. A message confirms the template has been successfully installed.

  6. Under Installed Templates, find the template, and do the following:

  7. (Optional) Add or delete resources from the template, and then use the influx CLI to export resources to a new template (JSON or YAML file).

To install and configure the influx CLI, complete steps 1-2 in the procedure below.

Apply and manage templates using the influx CLI

Use the influx CLI to apply and manage templates in your InfluxDB Cloud account. If you haven’t already, do the following:

  1. Download and install influx CLI.

  2. Configure the influx CLI to use your InfluxDB Cloud instance URL, organization, and tokens.

  3. Use the influx CLI to use, manage, and create InfluxDB templates:

Was this page helpful?

Thank you for your feedback!

The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Flux is going into maintenance mode and will not be supported in InfluxDB 3.0. This was a decision based on the broad demand for SQL and the continued growth and adoption of InfluxQL. We are continuing to support Flux for users in 1.x and 2.x so you can continue using it with no changes to your code. If you are interested in transitioning to InfluxDB 3.0 and want to future-proof your code, we suggest using InfluxQL.

For information about the future of Flux, see the following:

InfluxDB Cloud powered by TSM