Inputs/Output Configurations

Since telegraf inputs/outputs are actually arrays (can have multiple of eachtype) and Consul K/Vs are a map, an (arbitrary) name is required for eachinput/output for uniqueness and to "array-ify" them.

Value Types

Since Consul basically stores everything as strings and values in the telegrafTOML config may require strings, values, or arrays, Consul KV values are convertedas follows:

any value matching True, true, False, false will be treated as Boolean

any value that can be converted to float will be treated as numeric

any value beginning with [ and ending with ] will be treated as an array