Hi
Here is the solution I am using.
It's a way to replace CRLF with a space using Action: Run Script.
1) Save the following script file as a text file in any folder of PC where KSS is installed.
The contents of this file are:
--------------------------------------
Function Main()
' Replace cat with dog within the message text field
Fields.VarCleanMessageText = Replace(Fields.VarCleanMessageText, vbCrLf, " ")
' Return OK to tell syslog that the script ran correctly.
Main = "OK"
End Function
---------------------------------------
I saved it as "Script_ReplaceText_CRLF2space.txt.
2) Add "Action: Run Script" to the rule
It needs to be added above "Action: Display" and "Action: Log to file".
The reason is that KSS executes Action in order from the top.
3) Specify the script file of 1) in "Action: Run Script".
Enable all checkboxes in Field Read/Write permissions.
It will be as follows:
The Display before and after running this script is: