We want to write a Irule to log src_ip,dst_ip,nat_ip,url in one rule,but we found that can't work,
because http_request can't see nat_ip,is it possible to log URL with SNAT in one log ?Does anyone have relevant experience?
I just happened to be looking at this the other day.
If you have 11.3.x or higher, you can use the request logging profile to log all this stuff. Take a look at BIG-IP External Monitoring Implementations
I can't see where you are actually NATting in your iRule, or are you doing it outside of it?
Did you try to use your variables in SERVER_CONNECTED event?
It should work as variables are linked to the client session.