audit_series_count — Get the accumulated counts from a named series for a given key
int **audit_series_count** ( | name, | |
| | start, | |
| | end, | |
| | key, | |
| | ac
); | |
const char * <var class="pdparam">name</var>;
int <var class="pdparam">start</var>;
int <var class="pdparam">end</var>;
char * <var class="pdparam">key</var>;
accept_construct * <var class="pdparam">ac</var>;
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Get the accumulated counts from a named series for a given key.
- name of the series.
- the starting time window.
- the ending time window (inclusive).
- the key for which the counts is desired. For series of type "cidr", key is of the form "ip/mask". to use the remote IP of current session, caller can pass in "ac" instead.
- accept construct. This is the alternative for passing in an IP for cidr series.
counts summed over the given time windows. -1 in case of error.
**Configuration Change. ** This feature is available starting from Momentum 3.1.