Forum Discussion
millencol1n_619
Nimbostratus
Dec 21, 2009Log pool member
hi irule wizards,
this will be a quick one for you =)
i just wanna log the pool member to local.0 that is uses for each single connection attempt.
thx!
Noushad_Vellad1
Altostratus
Oct 12, 2018if you want log each and every connection request, use below
when HTTP_REQUEST {
Once pool member has been selected log it.
log local0. "Selected member: [LB::server addr]"
}
Mohammed_M_Irfa
Nimbostratus
Oct 12, 2018Hi Noushad,
I have tested your suggested in my lab,but it is not working. while HTTP_REQUEST is not able to detect the pool member.
L4L7 iRule is working fine and it gives the correct output.
Output: "Rule /Common/LB_SELECTED_Log_pool_member : Selected member: 10.1.20.11"
Thanks Noushad and L4L7 for iRule.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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