Difference between revisions of "UM:Log Monitoring"

Line 399: Line 399:
2. Generate event with code 200000 if line in the log file '''C:\demo.log''' contains word '''process:''' and is immediatelly following line containing text '''process startup failed'''; everything after word '''process:''' will be sent as event's parameter.
2. Generate event with code 200000 if line in the log file '''C:\demo.log''' contains word '''process:''' and is immediatelly following line containing text '''process startup failed'''; everything after word '''process:''' will be sent as event's parameter.


<syntaxhighlight lang="xml>
<syntaxhighlight lang="xml">
<parser>
<parser>
<file>C:\demo.log</file>
<file>C:\demo.log</file>
AutoPatrol
191

edits