Forum Discussion
iamczar_12961
Jul 25, 2011Cirrus
Logging LB_SELECTED in v4
Guys,
I have this iRules for v4. Basically, I want to log the pool/node where the connectionshas been established.
I tried couple of parameters available fro v9, but I got no luck.
if (http_uri matches_regex "abc") {
log "Match! client " + client_addr + ":" + client_port
log "Match! server " + server_addr + ":" + server_port
use pool http_pool
}
else {
log "Failed! client " + client_addr + ":" + client_port
log "Failed! server " + server_addr + ":" + server_port use pool http_pool
}
My logger above is working, but i'm missing a line for pool selected.
Thanks! :)
- hooleylistCirrostratusHi,
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