Forum Discussion
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. 
2 Replies
- Simon_BlakelyEmployee 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. 
- Paul_J__LandryNimbostratus Thanks for confirming Simon. -P 
Recent Discussions
Related Content
* 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