Bob_Z_148422
Feb 02, 2017Nimbostratus
What can I do in an iRule on a rule in an AFM policy
I have a IP forwarding VS that acts as a default gateway for my network. I also want to log the HTTP traffic that passes through that VS. I created an iRule on the http rule on the AFM policy linked to the VS. I found that without a HTTP profile on the VS I can't use HTTP_REQUEST. I added a FLOW_INIT and tried to direct the traffic to another VS using 'virtual HTTPLog' but even though the event fires the redirect doesn't happen. I tried using CLIENT_ACCEPTED but that does not seem to fire.
I couldn't find anything that specifically states what you can do in an iRule linked to a Rule on an AFM policy.
Can anyone help with how to log the traffic?