Update a Telegraf configuration
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:
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.
Update a configuration to change plugin settings, parameters, and agent-level options.
Update a configuration
- In the Telegraf Controller web interface, select Configurations in the navigation bar.
- Click the name of the configuration you want to edit or click the More button (⋮) and select View/Edit.
- Update global settings, labels, parameters, and plugin settings as needed.
- Review the TOML preview and resolve any validation errors.
- Click Save.
Update configuration name and description
- In the Telegraf Controller web interface, select Configurations in the navigation bar.
- Click the name of the configuration you want to edit or click the More button (⋮) and select View/Edit.
- Under Configuration Information, click the text under Name or Description. The name or description will load into a form field.
- Provide a new name or description and click .
Auto-update agents
For agents to automatically recognize and load updates to their
configuration, include the --config-url-watch-interval with a duration value
that specifies how often the agent should check for updates—for example:
telegraf \
--config https://locahost:8888/api/configs/xxxxxx/toml \
--config-url-watch-interval 1hIn this example, the agent will check for configuration changes every hour and automatically reload the configuration if the configuration has been updated.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Telegraf and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.