GetSyslogRuleMatchCount
- GetSyslogRuleMatchCount(name, object): int
-
Get syslog rule match count for all objects or for exact object.
Table 1. Parameters name
String
Rule name
object
NetObj or Integer
Object of class NetObj or object id. Optional parameter
ReturnSyslog rule match count, or -1 if syslog daemon is not initialized or rule with given name does not exist
println(GetSyslogRuleMatchCount("RuleName", $object)); // Will print rule match count for rule with name "RuleName"