F5 BIG-IP, Unable to get Traffic logs for the Webserver added to F5
Hello All,
We have launched F5 BIG-IP and added webserver as Virtual server in it. Status of Virtual server and pool is coming as Active and enabled.
Configured Virtual server to log all requests in Security>Policies.
Created below iRules and attached it to Virtual server,
--------------------------------------------------------------------------------------------
when CLIENT_ACCEPTED {
set client "[IP::client_addr]:[TCP::client_port]"
set vip "[IP::local_addr]:[TCP::local_port]"
set snat "unknown"
set node "unknown"
}
when SERVER_CONNECTED {
set snat "[IP::local_addr]:[TCP::local_port]"
set node "[IP::server_addr]:[TCP::server_port]"
}
when CLIENT_CLOSED {
log connection info
log local0.info "Client $client -> VIP: $vip -> SNAT: $snat -> Node: $node"
}
-------------------------------------------------------------------------------------------------------------------
In statistics, there is no traffic coming for Pool and virtual server even after Virtual server is active. Could you please let us know what needs to be configured here to get the Locak traffic logs.
Your help will be of great assist to us.
Thanks
Muthu Mahadevan