Forum Discussion
Sriram_129909
Nov 04, 2013Nimbostratus
iRule to log all HTTP_REQUEST and insert a cookie
Hello, I wrote an iRule that uses HSL for sending syslog level data to remote servers. The iRule sends all HTTP_REQUESTs to HSL pool. There are three pools defined - each for specific purposes. I fin...
Kevin_Stewart
Nov 04, 2013Employee
A few considerations:
-
The ::global variable format has been deprecated. It may work, but it will demote a CMP platform to a single CPU. Use the "static::" global variable namespace instead.
-
Modifying a global variable after RULE_INIT, even the static:: global variable format, will demote a system to a single CPU.
-
I would recommend using a session table structure instead of a global array.
https://devcentral.f5.com/wiki/iRules.table.ashx
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