Forum Discussion

BK1's avatar
Icon for Cirrus rankCirrus
May 22, 2020

Need to log client IP

Hello guys,


Is there any way to to send logged client IP address at some location instead of local0. I have iRule to log same but looking for something to have data at some customized location.


Local0 stores at var/log/ltm. pls correct me if I am wrong.





2 Replies

  • You can send log to external syslog with HSL.


    For example:


    set my_hsl [HSL::open -publisher /Common/LOGPUB_SYSLOG]

         HSL::send $my_hsl ""New TCP connection from [IP::client_addr]:[TCP::client_port] to [IP::local_addr]:[TCP::local_port]"