Hi all,
I am trying to create an iRule which sends a request to an external reporting application.
For example, IP 1.1.1.1 tries to reach 2.2.2.2/some_uri. iRules then hits the following URL in the background before routing the traffic to its intended destination:
http://someReportingServer.com/request/new?source=1.1.1.1&target=2.2.2.2&uri=/some\_uri&requested\_at=sometime
Is this possible?
Cheers,
Linx.
If you’re running v11.0 or above, take a look at sideband in the wiki. That should accomplish exactly what you want to do. I would caution though that making a sideband call before each request is sent to the application server will certainly impose some latency. If you’re just doing this for reporting, you may also want to consider simply logging the request data to a remote syslog using High Speed Logging (HSL).