Forum Discussion
JC_PH_325261
Nimbostratus
Mar 28, 2018LTM Pool member logging
Hi F5 DevCentral Community,
I would like to ask if it is possible that every time a pool member is hit a log would be sent to our external syslog. This is to be used for our monitoring. Our reso...
JG
Cumulonimbus
Mar 28, 2018when LB_SELECTED {
set hsl [HSL::open -proto UDP -pool my_syslog_server_pool]
set tstamp [clock format [clock seconds] -format "%d/%m/%Y %H:%M:%S %z"]
HSL::send $hsl "<23> $tstamp [IP::client_addr]:[TCP::client_port]->[IP::local_addr]:[TCP::local_port] -> [LB::server addr]\n"
}
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
