Forum Discussion
Brad_Parker
Cirrus
Don't write to the local
log
with the log command. Use HSL, https://devcentral.f5.com/wiki/iRules.HSL.ashx
when SERVER_CONNECTED {
set hsl [HSL::open -proto UDP -pool ]
HSL::send $hsl "[IP::client_addr], [IP::local_addr], [IP::server_addr]"
}
when SERVER_CLOSED {
HSL::send $hsl "[IP::local_addr], [IP::server_addr]"
}
Brad_Parker
Oct 20, 2015Cirrus
Your syslog pool should contain a syslog server that is setup to receive syslogs on the configured port with the proto in HSL::open(UDP or TCP). Also, TMM needs to have a route or L2 access to that syslog server.