My telegraf receives messages from eventhub where the tag has "A". Now i want to transform from "A" to "B", "C", "D" using a loopup configuration file which i have. I see Processor.Enum can apply only update at a time also it doesn't take configuration file as parameters. How to Achive this?
Eg:
Input: test,"Name":"A3" My Custom Config: [{"Name":"A1", "City":"C1", "Branch":"B1"},{"Name":"A2", "City":"C2", "Branch":"B2"},{"Name":"A3", "City":"C3", "Branch":"B3"}] Expected Output: test,"Name":"A3","City":"C3","Branch":"B3"