Paul_J__Landry
Feb 02, 2021Nimbostratus
Select Request Logging Profile via iRule
Hi Gang.
I would like to use an iRule to change which Request Logging Profile is applied to my virtual server based on the request. (If URI A then use Logging Profile A, if URI B then use Remote Logging Profile B)
Looking at the iRule reference, I haven't found any way to set a Request Logging Profile via iRule. Is there a way to do this? BigIP 14
Thanks
As noted, Request Logging profiles are not included in the profiles that are able to be viewed/modified via the PROFILE:: irule command.
I don't believe there is any other mechanism that would allow Request Logging profiles to be manipulated.
You would need to use a High Speed Logging destination and construct a logging string to allow customized Request logging based on request URL.