Forum Discussion
Jeremy_Bridges_
Nimbostratus
Sep 08, 2009Stats Profiles and bigpipe
I would like to access statistics profiles using the bigpipe utility. What command do I need to use to get the value of "field1" on a stats profile called "stats-MyServer"? Maybe like this?
bi...
Kevin_Stewart
Employee
Sep 12, 2009It's been awhile since I've worked with STAT profiles, but if I understand it correctly, a single STAT profile can be used across multiple VIPs. If that is the case, you need to clear a single STAT value, and iRules is the only way to do it, you could create a "Services VIP". Its sole job is to execute iRules and return a response. You would then access that VIP via command line Curl.
when HTTP_REQUEST {
switch [HTTP::uri] {
"/FIELD_RESET" {
STATS::set $statProfile $fieldName 0
HTTP::respond 200 Content "OK"
}
default {
HTTP::respond 200 Content "Nothing selected"
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects