ltm rule command STATS getΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



STATS::get
       Retrieves a setting value from a Statistics profile.

SYNOPSIS
       STATS::get PROFILE_NAME FIELD_NAME

DESCRIPTION
       Retrieves the value of the specified field of the specified Statistics
       profile.

       STATS::get  

	    * Retrieves the value of the specified field of the specified
	      Statistics profile.

RETURN VALUE
       Returns the value of the specified field of the specified Statistics
       profile

VALID DURING
EXAMPLES
	when HTTP_REQUEST {
	  if {[string tolower [HTTP::uri]] starts_with "/check"} {
	    STATS::get stats_profile_1 "my_first_field"
	  }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-9.2.0 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)