Forum Discussion
mcorvalan_57694
Aug 29, 2011Nimbostratus
How to log HTTP_REQUEST
Hi All.
I send this post to ask you how can I make the Irule to log when I receive HTTP_REQUEST the name of vs.
for example I could find this
when HTTP_REQUEST {
log local0. "Cli...
kaefuh
Aug 30, 2011Nimbostratus
when HTTP_REQUEST {
set app_pool [class match -value [HTTP::host] contains hostpool]
if { not ($app_pool eq "") }{
pool $app_pool
log "[HTTP::host] pool to $app_pool"
} else {
use pool WabAppSCAN
log local0.info "Virtual: [virtual name]:[HTTP::host] + client address [IP::client_addr] pools nodes is [LB::server]"
}
}
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