Forum Discussion
DaveC_53879
Nimbostratus
Oct 07, 2011How can I log which pool member a request goes to?
I have a rule where I want to point a certain URI to a particular pool member. How can I log which pool member the requests are going to? I see that the rule is being hit because I do get log entries, but I'm not sure that it is actually sending the request to the correct server. I just don't know the syntax for logging which server gets the request.
when HTTP_REQUEST
{ if {[HTTP::uri] starts_with "something"} {
pool test_pool member 10.10.0.91
log local0. "[IP::remote_addr] directed to 10.10.0.91 "
}
}
Dave
- nitass
Employee
hope this is helpful.
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