Forum Discussion
JFC_377076
Altocumulus
Dec 18, 2018I-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...
Rico
Cirrus
Dec 20, 2018IP::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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects