I use an irule for the HSL logs for web portal access (module APM).
All is fine so far.
Now, i would like to modify my irule in order to count the bytes rx/tx exchanche for each tcp session.
For exemple, a user connect to the webportal. now he chooses a website. I log with the irule the session message but i want to add rx/tx bytes for this session.
Is it possible ?
IP::stats is a very helpful command for measuring bytes in and out. For example:
log local0. "Bytes In:[IP::stats bytes in]"
log local0. "Bytes Out:[IP::stats bytes out]"
This iRule will log out the bytes in and out for every TCP connection.
Here is the link to the documentation for IP::stats in case you want to do more research on your own.
Thx. works perfect !