Forum Discussion
Kevin_Stewart
Aug 16, 2013Employee
Try this:
when HTTP_REQUEST {
log local0. "URI = [HTTP::uri]"
if { ( [string tolower [HTTP::uri]] starts_with "/vip1" ) or ( [string tolower [HTTP::uri]] starts_with "/vip2" ) } {
log local0. "Going to virtual vs2"
virtual vs2
} else {
log local0. "Going to pool pool2"
pool pool2
}
}
Then from the command line:
tail -f /var/log/ltm