Forum Discussion

iamczar_12961's avatar
Jul 25, 2011

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! :)
  • Hi,

     

     

    I don't believe it's possible to log the selected pool in v4.

     

     

    Aaron