This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

GetSyslogRuleCheckCount

GetSyslogRuleCheckCount(name, object): int

Get syslog rule check 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

Return

Syslog rule check count, or -1 if syslog daemon is not initialized or rule with given name does not exist

println(GetSyslogRuleCheckCount("RuleName", $object)); // Will print rule check count for rule with name "RuleName"