Forum Discussion

Wasfi_Bounni's avatar
Wasfi_Bounni
Icon for Cirrocumulus rankCirrocumulus
Nov 05, 2020
Solved

Can this i-rule be used in an LTM traffic policy in the manner shown:

Hi;

 

Can this i-rule be used in this manner in an LTM traffic policy "In the GUI". Also, can it be sent to the pool directly in this manner, without having to define an HSL publisher.

 

action Log message tcl:HSL::send [HSL::open -proto UDP -pool syslog_server_pool] "<190> [IP::client_addr] [HTTP::uri]\n"

 

at request

 

Kindly

Wasfi

 

 

 

  • Hello Wasfi.

     

    Yes you can, but I don't recommend you to do that. Using iRules sentences at policies don't give you any improvement than using iRules.

     

    The best option in your case is to use a request logging profile instead of an iRule. This will increase your performance.

    https://support.f5.com/csp/article/K00847516

     

    Regards,

    Dario.