Easier renaming of tags in the tag processor.
In our opc-ua machines we have alot of tags with German names. This does not make sense to us and also the nameing differs slightly between machines.
We rename every tag to follow a predefined schema.
However, with the current solution in the tag processor we need an if/then for each tag.
This becomes quite big for each machine since we have 67 tags from the machines.
Using bloblang it was quite simple with just mapping meta(opcua_path) > "newTagName".
It would be nice to have something similar for the tag processor.
Something like:
rename:
I=4:s=3 > newTag
I=4:s=4 > newTag2
or something similar.
Perhaps point to the meta like
rename(msg.upcua_path)
3 > newTag
4 newTag2