i’m trying to configure telegraf to fetch data from two different mqtt servers, outputting to seperate databases. i found this, which i guess should handle the outputs:
but i can’t find any examples of how to configure the inputs - if it’s possible that way at all…
i assumed that cloning the whole block from [[inputs.mqtt_consumer]] and adapting the values below that should do the trick - but i’m getting a parse error on the second [[inputs.mqtt_consumer]].
any help appreciated.