Advanced policy expressions: stream analytics functions
Stream Analytics expressions begin with the ANALYTICS.STREAM(\<identifier\_name\>) prefix. The following list describes the functions that can be used with this prefix.
-
COLLECT_STATSCollect statistical data from the requests that are evaluated against the policy and create a record for each request.
-
REQUESTSReturn the number of requests that exist for the specified record grouping. The value returned is of type unsigned long.
-
BANDWIDTHReturn the bandwidth statistic for the specified record grouping. The value returned is of type unsigned long.
-
RESPTIMEReturn the response time statistic for the specified record grouping. The value returned is of type unsigned long.
-
CONNECTIONSReturn the number of concurrent connections that exist for the specified record grouping. The value returned is of type unsigned long.
-
IS_TOP(n)Return a Boolean TRUE if the statistical value for the specified record grouping is one among the top n groups. Otherwise, return a Boolean FALSE.
-
CHECK_LIMITReturn a Boolean TRUE if the statistic for the specified record grouping has hit the preconfigured limit. Otherwise, return a Boolean FALSE.