hope this helps.
[root@ve1024:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.19.79:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve1024:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
log local0. "\[HTTP::uri\]: [HTTP::uri]"
log local0. "\[findstr [HTTP::uri] ? 8 3\]: [findstr [HTTP::uri] ? 8 3]"
}
}
[root@ve1024:Active] config curl -I http://172.28.19.79/test?1234567890abcdef
HTTP/1.1 404 Not Found
Date: Sat, 30 Jun 2012 04:04:46 GMT
Server: Apache/2.2.3 (CentOS)
Content-Type: text/html; charset=iso-8859-1
[root@ve1024:Active] config tail -f /var/log/ltm
Jun 29 21:04:34 local/tmm info tmm[4861]: Rule myrule : [HTTP::uri]: /test?1234567890abcdef
Jun 29 21:04:34 local/tmm info tmm[4861]: Rule myrule : [findstr /test?1234567890abcdef ? 8 3]: 890