I am looking for a solution for processing data differently for two outputs within one telegraf.conf file. I am taking one input (mqtt) and I need to output the full data to one influxdb plugin, and then output a processed version of the data (less variables, 5-6) to a different influxdb. Is that possible using one config file, or do I need two Telegraf instances?
it’s possible, just play around with filters
I also wrote a blog on basic usage of filters as @Giovanni_Luisotto pointed out. Check out this: Telegraf Best Practices: Config Recommendations and Performance Monitoring
Alongside the main documentation