Telegraf: Clone a tag key with different name to the same measurement

Hello everyone,

I have a measurement called my_measurements with tag keys ID, host, Plan and i want to clone the tag key ID to a new tag key Called clientID within the same measurement (my_measurements). Is there a way to do it through telegraf?

If you just want to rename the tag, you can use the rename processor. If you need both new and the old tag, you can use the regex processor since it doesn’t remove the old value.