Forum Discussion
I-rule APM: logs: how to send rx:tx per tcp session on a webportal
Hi! 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 ?
- Rico
Cirrus
IP::stats is a very helpful command for measuring bytes in and out. For example:
when CLIENT_CLOSED { 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.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com