This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

USING A JAVA PROGRAM/SCRIPT AS A SAM COMPONENT

Does anyone know if it is possible to use a Java script/program as a SAM component? Similar to this: https://thwack.solarwinds.com/docs/DOC-188268

We have a few Java scripts that were written to use with our old monitoring solution. These were basically log parsing scripts that do some extra formatting for us. They are using a number of regular expression that I attempted to translate into the SAM Log Parser (Powershell) script but have been unsuccessful so far. Here's an example of a couple of the expression being used:

.(\sERROR\s).$

.(code:-8973)+.$

.(\(-1541\)\srejection).$

.(\(-1685\)\srejection).$

^(\\d){4}-(\\d){2}-(\\d){2}\\s(\\d){2}:(\\d){2}:(\\d){2},(\\d){3}\\s.*$

Any suggestions or advice would be greatly appreciated, thanks!