Forum Discussion
scott_sams_8256
Nimbostratus
Feb 20, 2009content tracking
we found an irule here by Kirk (thanks Kirk) that breaks content down by count. any genius out there that can take this and add total bytes for each category? our ecomm group wants to see the breakd...
Kevin_Davies_40
Nacreous
Jul 04, 2011when HTTP_RESPONSE {
if { [HTTP::header exists "Content-Length"] } {
if { [catch {STATS::incr "ContentLength" [HTTP::header "Content-Type"] [HTTP::header "Content-Length"]} } {
log local0.info "Counting content-type \" [HTTP::header "Content-Type"]\" failed with an error"
}
}
}
Seems simpler.
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
