Forum Discussion
Sriram_129909
Nimbostratus
Nov 04, 2013iRule 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
Employee
Nov 04, 2013A 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
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