Forum Discussion
Stephan_Mierau
Sep 02, 2016Employee
to log you could use a simple iRule:
when CLIENT_ACCEPTED {
set vip [IP::local_addr]:[TCP::local_port]
when SERVER_CONNECTED {
set client "[IP::client_addr]:[TCP::client_port]" set node "[IP::server_addr]:[TCP::server_port]" }
when CLIENT_CLOSED {
log connection info log local0.info "Client $client -> VIP: $vip -> Node: $node"
}
to apply this rule I would use a tmsh cli script