Convert one Telegraf config file into a layer, as `stratactl import telegraf` does (docs/agents/telegraf.md §9). Stores nothing.
POST/api/v1/tools/telegraf/import
Convert one Telegraf config file into a layer, as stratactl import telegraf does (docs/agents/telegraf.md §9). Stores nothing.
Request
Responses
- 200
- 422
The layer and the converter's warnings.
telegraf.import: the file is not valid TOML (diagnostic telegraf.import.toml with line; the message names line and column) or has no plugins, [agent] or [global_tags] (telegraf.import.empty).