BK1
May 22, 2020Cirrus
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....
You can send log to external syslog with HSL.
For example:
when CLIENT_ACCEPTED {
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]"
}