Forum Discussion

What_Lies_Bene1's avatar
What_Lies_Bene1
Icon for Cirrostratus rankCirrostratus
Apr 24, 2015

Log iRule Name in an iRule

Hi all. Hopefully a quick and easy one for someone. Is there a way to obtain the name of an iRule, from within that iRule, so I can use it for logging.

 

Yes, logging prefixes the iRule name, but I want to use it elsewhere.

 

Yes, I can just enter it manually in the rule, but this doesn't help where automation and templating are concerned.

 

Many thanks in advance.