Forum Discussion

Linx_118841's avatar
Linx_118841
Icon for Nimbostratus rankNimbostratus
May 05, 2013

iRules & external reporting

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.

 

2 Replies

  • 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).