vmusacchio_3716
Sep 10, 2018Nimbostratus
How can i add to this irule a part to know which pool is relationed with the virtual Server?
when CLIENT_ACCEPTED { set hsl [HSL::open -proto UDP -pool pl.logs01.stp]
} when HTTP_REQUEST { Save request information for later logging set req_start [clock clicks -milliseconds] set clientip [IP::client_addr] set method [HTTP::method] set uri [HTTP::uri] set referer [HTTP::header Referer] set ua [HTTP::header Usrer-Agent] } when HTTP_RESPONSE { set log_string "$clientip [clock format [clock seconds] -format "%d/%m/%Y %H:%M:%S %z"] [expr {[clock clicks -milliseconds] - $req_start}] \"$method $uri\" [HTTP::status] [HTTP::header Content-Length] \"$referer\" \"$ua\"" log local1.info $log_stringHSL::send $hsl $log_string
}
Can anyone tell my how can i add to this IRule the "pool" in which the Vritual server forwards the traffic?.