The rename field function cannot used to change field content. You will likely want to use a lookup table for your purpose. Here is an example: https://twitter.com/eric_capuano/status/1006326493998407680 . You would create a lookup table that correlates type to definition and then the pipeline would lookup and assign that value to a new field. Alternatively, you can use “set_field” and haev a rule for every logontype value. If you set the field logon type in the actions it’ll overwrite the “3” so:
rule “rename LogonType”
when
has_field(“LogonType”) AND contains(to_string($message.LogonType), “3”)
then
set_field(“LogonType”,“Network”);
end