Rule syntax: <name>:<event1>-<n>*<event2>/<duration>=<limit>
'name' defines the name you have given to the rule entry and is logged along with with the number of times the 'limit' has been reached within the 'duration'.
'event1' defines the variable name (if found in 'E') to increment the counter.
'event2' defines the variable name (if found in 'E') to decrement the counter (and the parameter 'n' defines by how much).
'duration' defines the measure interval (in seconds) used for the QS_ClientEventLimitCount directive.
'limit' defines the threshold (number) defined for the QS_ClientEventLimitCount directive.
Note: If the 'name' parameter is prefixed by 'STATUS', the rule is applied against the HTTP status code 'S' and the 'event1' string shall contain a list of relevant status codes separated by an underscore (while 'event2' is ignored).
CustomLog "|/usr/bin/qslog -f ISBDQ -x -o /var/log/apache/stat.csv" "%h %>s %b %D %{mod_qos_ev}e"
Post processing:
LogFormat "%t %h \"%r\" %>s %b \"%{User-Agent}i\" %T"
cat access.log | qslog -f ..IRSB.T -o stat.csv -p