Forum Discussion
Bryan_38320
Nimbostratus
Jun 11, 2010access irule name from inside the irule
I have the need to use the name of an irule in the rule itself.
For example:
if { irule_name contains "bob" }
log local0. " bob's rule"
}
(I realize there is...
spark_86682
Jun 12, 2010Historic F5 Account
There's no way to do this currently, unfortunately. You'll have to do something like have a RULE_INIT for each iRule to set the name in a global/static variable.
However, we are considering adding this feature in an upcoming release. If you could elaborate on your use-case, that would be a great help to us.
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
