Dear community,
I am using win_perf_counters to capture the basic information about my OS. At the same time, I would like to complement the metric with a new tag called IP with the data comming from “ipconfig” command. What I am doing today, and it is working, it to launch exec plugin, executing a cmd script every 8h and sending the data to a txt file that is consumed and stored as a tag by inputs.file telegraf.
It works perfectly, nevertheless, I would like to know if there is a way to optimize it in another way because I will have a similar approach in the comming future where I need to contextualize all the metrics comming from inputs.mqtt with another message comming from another inputs.mqtt.
Thanks in advance