Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Select Request Logging Profile via iRule

Paul_J__Landry
Nimbostratus
Nimbostratus

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

 

1 ACCEPTED SOLUTION

Simon_Blakely
F5 Employee
F5 Employee

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.

View solution in original post

2 REPLIES 2

Simon_Blakely
F5 Employee
F5 Employee

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__Landry
Nimbostratus
Nimbostratus

Thanks for confirming Simon.

 

-P