Forum Discussion
Shruti_Malik_84
Nimbostratus
May 24, 2007Log Bytes Send/Received (WEB TRAFFIC) in F5 via iRules or BIG-IP
Hi All,
Is it possible to log the web traffic for a paricular incoming/outgoing https request i.e.' Bytes Send' and 'Bytes received'. The logging is required to be done by ei...
May 25, 2007
If it's HTTP, then you can likely use the Content-Length header that the browser and server send to indicate the total length of the upcoming payload.
when HTTP_REQUEST {
set request_length [HTTP::header "Content-Length"]
}
when HTTP_RESPONSE {
log local0. "Request Size: $request_length, Response Size: [HTTP::header Content-Length]"
}
-Joe
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