Likely a dumb question, but I just can’t seem to find it . I have a few machines, collecting data via Telegraf (which is working great, thanks!) … but, I am also using a Grafana dashboard to display the results. Both are working OK, with one exception - my graphs break because the various machines use different names for their network interfaces. So I’d like to have Telegraf use a name I define.
For example, I see in my telegraf database, net,host=linuxBox,interface=enp0s10
Yet on another machine, that interface is p1p1, and another, eth0. I’d like to name them all, for example, lan. I have tried [[processors.rename.replace]], but that doesn’t seem to do it. Any suggestions?
Hello @arrmo,
It isn’t you! The telegraf --test command doesn’t run the processors, it’s something the team has been meaning to change but never get the time. I usually debug this by adding a file output writing to stdout and then run Telegraf for a bit with only the plugins of interest, this way I avoid writing unwanted data to my database: