Forum Discussion
"Total Executions" statistic for an iRule?
- Mar 02, 2017
It is the number of times the F5 has triggered an iRule. The event used by the iRule determines how often it will be executed.
It is the number of times the F5 has triggered an iRule. The event used by the iRule determines how often it will be executed.
- hoad_312348Mar 02, 2017Nimbostratus
The event I am using is HTTP_REQUEST. Is this described or defined in the docs anywhere?
- Kevin_Davies_40Mar 02, 2017Nacreous
Yes and no. Its described in the iRule training but it requires an understanding of protocol behaviour as well. HTTP_REQUEST can be triggered many times in a single connection as HTTP/1.1 specification keep connections open for a time so the browser can reuse them for subsequent requests. A single web browser can have multiple connections.
- Kevin_Davies_40Mar 02, 2017Nacreous
If you not seeing consistent statistics the turn on developer mode in your browser and disable caching. Refreshes of a page will pull images out of the local browser cache and they wont request it from the F5.
- hoad_312348Mar 02, 2017Nimbostratus
Thank you. I guess the only other follow-up question I have is ... can the iRule be accessed and yet the execution count not be incremented? For example if "event disable all" is called.
- Kevin_Davies_40Mar 02, 2017Nacreous
Event disable will turn off all future events for that individual connection. However to execute that command the iRule must at least have been executed once.
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