Update a Telegraf configuration

    To update a Telegraf configuration, do one of the following:

    Telegraf doesn’t detect changes to remote configurations. If you edit a remote configuration, you must restart Telegraf or send it a SIGHUP command for your changes to take effect.

    1. Hover over the configuration you want to edit and click to update the name or description.

    2. Press Return or click out of the editable field to save your changes.

    1. Load Data

    2. To edit the configuration file: a. Click the name of the configuration. b. Add or update Telegraf plugin settings in the window that appears.

      The text editor window doesn’t detect if any plugins or settings are misconfigured. Any errors in your configuration that may cause Telegraf to fail when you restart it.

      c. Click Save Changes and then Save again to confirm.

    3. To apply the updated configuration, restart Telegraf. To find the exact command to start Telegraf, click Setup Instructions on the Telegraf page.

    1. In the navigation menu on the left, select Data (Load Data) > Telegraf.

    2. Click the name of the Telegraf configuration to customize.

    3. Review the configuration file. Add or update settings and save your changes.

    4. Use the influx telegrafs update command to upload your modified Telegraf configuration to InfluxDB and replace the existing configuration.

    5. To apply the updated configuration, restart Telegraf. To find the exact command to start Telegraf, click Setup Instructions on the Telegraf page.

    Use the influx CLI

    Use the influx telegrafs update command to update an existing InfluxDB Telegraf configuration name, description, or settings from a Telegraf configuration file on your local machine.

    • Telegraf configuration ID (shown in the output of )
    • Telegraf configuration name
    • Telegraf configuration description
    • Telegraf configuration file

    If a name and description are not provided, they are replaced with empty strings.