-
Hi everyone, I'm trying to create a filter for tag/route a record that has two identical fields, ServiceName and TargetUserName_User. At first, I tried to do it with Stream Processing, because to my understanding, that is the simplest way, but sadly, Stream Processing don't support define a field equal to other field, like this:
So, I don't know if there is a filter that can do this. Maybe LUA? But I'm not really know much about LUA, so I don't know how to do it. Anyone with the same use case? How I can do this in the best possible way? Thanks in advance for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Finally I found a way. With this LUA Filter I created a field with the content "match" or "nomatch", based on compare the ServiceName with the TargetUserName (without @Domain), and after that, I can create a rewrite_tag filter based on that new field to route my message:
|
Beta Was this translation helpful? Give feedback.
Finally I found a way. With this LUA Filter I created a field with the content "match" or "nomatch", based on compare the ServiceName with the TargetUserName (without @Domain), and after that, I can create a rewrite_tag filter based on that new field to route my message: