Difference between revisions of "UM:Log Monitoring"

56 bytes added ,  14:21, 2 April 2012
Line 283: Line 283:


This tag has no effect for text log files, and can be used as a synonym for <nowiki><id></nowiki> tag for Windows Event Log monitoring.
This tag has no effect for text log files, and can be used as a synonym for <nowiki><id></nowiki> tag for Windows Event Log monitoring.


=== <tag> Tag ===
=== <tag> Tag ===
<nowiki>Tag <tag> can be used to filter syslog records (received by NetXMS built-in syslog server) by content of "tag" field. You can specify exact value or pattern with * and ? Metacharacters.</nowiki>
Tag <nowiki><tag></nowiki> can be used to filter syslog records (received by NetXMS built-in syslog server) by content of "tag" field. You can specify exact value or pattern with * and ? metacharacters.
 


Some examples:
Some examples:


 
<syntaxhighlight lang="xml">
<nowiki><tag>httpd</tag></nowiki>
<tag>httpd</tag>
 
</syntaxhighlight>


will match records with tag "httpd" (case-insensetive), and
will match records with tag "httpd" (case-insensetive), and


 
<syntaxhighlight lang="xml">
<nowiki><tag>X*</tag></nowiki>
<tag>X*</tag>
 
</syntaxhighlight>


will match records with tag started from letter "X".
will match records with tag started from letter "X".


 
This tag has no effect for text log files, and can be used as a synonym for <nowiki><source></nowiki> tag for Windows Event Log monitoring.
<nowiki>This tag has no effect for text log files, and can be used as a synonim for <source> tag for Windows Event Log monitoring.</nowiki>
 


=== <severity> Tag ===
=== <severity> Tag ===
683

edits