Recently after upgrading to 8.2 and the NetIQ Universal Collector to
2011.r6 I'm having some trouble with my custom.js code that's been
working for the last 4 years.
I'm capturing events from Linux boxes using the Syslog connector
2018.1r2 both using TCP and UDP.
In the debugger I set a breakpoint at the if in my function:
Record.prototype["parse-kernel"] = function(message, e) {
if (e.ReporterIP == "aaa.bbb.ccc.ddd") {
//do some stuff here
}
The trouble is that the e.ReporterIP doesn't exist any more.
I'm not sure how to proceed.
If I look at the "e" object on the "Locals" tab in the debugger there
are not many properties set except a bunch of functions and stuff like
ObserverType, ObserverCategory etc.
It looks like the event isn't preprocessed before being sent to custom.js
--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.