Difference between revisions of "UM:Log Monitoring"

69 bytes removed ,  15:15, 2 April 2012
m
Line 28: Line 28:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<parser ''options''>
<parser>
<file>''file name''</file>
<file>file name</file>
<macros>
<macros>
 
<macro name="name">macro body</macro>
<macro name="name">''body''</macro>
<-- more <macro> tags can follow -->  
 
</macros>
<-- more <macro> tags can follow -->  
<rules>
 
<rule>
</macros>
<match>regexp</match>
 
<id>event id</id>
<rules>
<level>severity level</level>
 
<source>event source</source>
<rule ''options''>
<event>event</event>
 
<context>context</context>
<match ''options''>''regexp''</match>
</rule>
 
<-- more <rule> tags can follow -->
<id>''event id''</id>
</rules>
 
<level>''severity level''</level>
 
<source>''event source''</source>
 
<event ''options''>''event''</event>
 
<context ''options''>''context''</context>
 
</rule>
 
<-- more <rule> tags can follow -->
 
</rules>
 
</parser>
</parser>
</syntaxhighlight>
</syntaxhighlight>
683

edits