ltm rule command CATEGORY analytics
iRule(1) BIG-IP TMSH Manual iRule(1)
CATEGORY::analytics
Controls response analytics engine.
SYNOPSIS
CATEGORY::analytics BOOL_VALUE
DESCRIPTION
Enables or disables the analytics server on a per request basis (requires SWG license)
RETURN VALUE
No return value
VALID DURING
HTTP_REQUEST HTTP_RESPONSE CATEGORY_MATCHED
EXAMPLES
when HTTP_REQUEST {
set this_uri http://[HTTP::host][HTTP::uri]
set reply [CATEGORY::lookup $this_uri]
log local0. "uri $this_uri returns category=$reply"
if { $reply equals "Adult Material" } {
CATEGORY::analytics enable
}
}
HINTS
Requires SWG license
SEE ALSO
CHANGE LOG
@BIGIP-11.6.0
--First introduced the command.
BIG-IP 2020-06-23 iRule(1)