Documentation

Use the Code Editor

Telegraf Controller is in Private Alpha

Telegraf Controller is in private alpha. If you are interested in being a part of the private alpha program, please sign up:

Sign Up for the Alpha

While in alpha, Telegraf Controller is not meant for production use. The Telegraf Controller documentation is a work in progress, and we are actively working to improve it. If you have any questions or suggestions, please submit an issue. We welcome any and all contributions.

Use the Telegraf Controller Code Editor to upload, write, or edit raw Telegraf configuration TOML.

Telegraf Controller Code Editor

The Code Editor is the default view when managing a configuration. If it is not displayed, click the Code Editor tab.

Switching from the Code Editor to the Telegraf Builder

Switching from the Code Editor to the Telegraf Builder will reformat the TOML. When reformatting, Telegraf Builder does not preserve the following:

  • Comments
  • Indentation
  • Plugin Order

Upload TOML

To upload a Telegraf configuration file to Telegraf Controller, click Upload files to open a file selection dialogue box or drag and drop your configuration file into the Code Editor.

Telegraf Controller supports TOML-formatted files with the following extensions:

  • .toml
  • .conf
  • .txt

Uploaded configuration files fully replace any existing configuration TOML.

Manually write or edit TOML

The Code Editor is a feature-rich, browser-based editor that lets you write code using keyboard shortcuts similar to those in popular editors and IDEs.

Keymaps

The Code Editor uses CodeMirror’s default keymaps. The following bindings come from the reference keymaps.

  • ArrowLeft: Move left one character (Shift selects)
  • ArrowRight: Move right one character (Shift selects)
  • ArrowUp: Move up one line (Shift selects)
  • ArrowDown: Move down one line (Shift selects)
  • Ctrl+ArrowLeft: Move left by word group (Shift selects)
  • Ctrl+ArrowRight: Move right by word group (Shift selects)
  • Alt+ArrowLeft: Move left by syntax unit (Shift selects)
  • Alt+ArrowRight: Move right by syntax unit (Shift selects)
  • ⌘← (macOS only): Move to line start (Shift selects)
  • ⌘→ (macOS only): Move to line end (Shift selects)
  • Alt+ArrowUp: Move line up
  • Alt+ArrowDown: Move line down
  • Shift+Alt+ArrowUp: Copy line up
  • Shift+Alt+ArrowDown: Copy line down
  • Ctrl+Alt+ArrowUp: Add cursor above
  • Ctrl+Alt+ArrowDown: Add cursor below
  • ⌘↑ (macOS only) or Ctrl+Home: Move to document start (Shift selects)
  • ⌘↓ (macOS only) or Ctrl+End: Move to document end (Shift selects)
  • ⌃↑ (macOS only) or PageUp: Page up (Shift selects)
  • ⌃↓ (macOS only) or PageDown: Page down (Shift selects)
  • Home: Move to line boundary backward (Shift selects)
  • End: Move to line boundary forward (Shift selects)
  • Enter and Shift+Enter: Insert newline and indent
  • Ctrl+Enter: Insert blank line
  • Ctrl+A: Select all
  • Alt+L: Select line
  • Ctrl+I: Select parent syntax
  • Esc: Simplify selection
  • Ctrl+[: Indent less
  • Ctrl+]: Indent more
  • Shift+Ctrl+K: Delete line
  • Shift+Ctrl+\: Jump to matching bracket
  • Ctrl+/: Toggle line comment
  • Shift+Alt+A: Toggle block comment
  • Backspace: Delete character backward
  • Delete: Delete character forward
  • Ctrl+Backspace: Delete word group backward
  • Ctrl+Delete: Delete word group forward
  • ⌘⌫ (macOS only): Delete to line start
  • ⌘ fn⌫ (macOS only): Delete to line end

Dynamic value syntax highlighting

The Telegraf Controller Code Editor automatically applies special syntax highlighting to dynamic values (parameters, environment variables, and secrets) in your configuration TOML to make them more visible.

For more information about using dynamic values, see Use dynamic values.


Was this page helpful?

Thank you for your feedback!


New in InfluxDB 3.8

Key enhancements in InfluxDB 3.8 and the InfluxDB 3 Explorer 1.6.

See the Blog Post

InfluxDB 3.8 is now available for both Core and Enterprise, alongside the 1.6 release of the InfluxDB 3 Explorer UI. This release is focused on operational maturity and making InfluxDB easier to deploy, manage, and run reliably in production.

For more information, check out:

InfluxDB Docker latest tag changing to InfluxDB 3 Core

On February 3, 2026, the latest tag for InfluxDB Docker images will point to InfluxDB 3 Core. To avoid unexpected upgrades, use specific version tags in your Docker deployments.

If using Docker to install and run InfluxDB, the latest tag will point to InfluxDB 3 Core. To avoid unexpected upgrades, use specific version tags in your Docker deployments. For example, if using Docker to run InfluxDB v2, replace the latest version tag with a specific version tag in your Docker pull command–for example:

docker pull influxdb:2