Forum Discussion
skkg_111590
Feb 09, 2011Nimbostratus
irule to capture server ---> to client traffice and vice versa
Hi ,
I need help to create an irule that will be applied to vip –(http).
When ever client gets 503 errors from the servers it records the error in the lo...
Chris_Miller
Feb 10, 2011Altostratus
when HTTP_REQUEST {
set methodvar [HTTP::method]
set hostvar [HTTP::host]
set urivar [HTTP::uri]
set clientvar [IP::remote_addr]
log local0. "Client: [IP::remote_addr]:[TCP::remote_port] requested [HTTP::method] / [HTTP::host][HTTP::uri]"
}
when HTTP_RESPONSE {
if { [HTTP::status] eq "503" } {
log local0. "$clientvar received 503 error for $methodvar / $hostvar$urivar" }
}
That should be a start.
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