Forum Discussion
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....
vigyu
May 23, 2020Altocumulus
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]"
}
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects