Products | Versions |
---|---|
TIBCO Hawk | - |
Not Applicable | - |
Resolution:
1. The log file must be saved as a UTF-8/UTF-16 text file. That could be done through "save as" of Windows notepad or UltraEdit.
A hexadecimal header will be added to the file. 'EF BB BF' for UTF-8 and 'FF FE' for UTF-16.
2. If monitoring with onNewLine method:
1) Open the rulebase .hrb file with a hexadecimal editor.
2) Find "operator" tag under "test" tag, change the value of "dataObject", replace the content (i.e. XXX in CDATA[XXX]) with the hexadecimal code of the UTF-8/UTF-16 string to be monitored.
3. If monitoring with onNewLineWithPatternFile method:
1) The pattern file must NOT be saved as a UTF-8/UTF-16 text file.
2) Open the pattern file with a hexadecimal editor.
3) Compose the regular expression with the hexadecimal code of the UTF-8/UTF-16 string to be monitored.