Version 1

    Example 1: Strip Client-ID header from syslog message

    Original syslog message:

    KiwiClientID=XXXXXXX Jan 4 19:37:17 Firewall src="192.168.10.10:4150" dst="66.100.69.118:80" msg="66.100.69.118 (Policy)" ...

    Overloaded syslog message (stripped):

    Jan 4 19:37:17 Firewall src="192.168.10.10:4150" dst="66.100.69.118:80" msg="66.100.69.118 (Policy)" ...

    Function Main()
        'text to strip from message:
        strip = "KiwiClientID=XXXXXXX"

        'get the message
        msg = Fields.VarCleanMessageText
       
        'Strip text from message
        msg = Replace(msg, strip, "")

        'Overload message text with stripped one.
        Fields.VarCleanMessageText = msg

        'Return success
        Main = "OK"
    End Function