Forum Discussion
Stanley_87566
Nimbostratus
Apr 29, 2009Log millisecond by irule
I'm using irule to log down all load balance traffic via BIGIP. However I cannot record the millisecond for a very high traffic application. Is anybody know how record millisecond by irule on BIPIP? ...
Stanley_87566
Nimbostratus
Jan 07, 2010Here's the example, thanks!
when LB_FAILED {
set info "client { [IP::client_addr]:[TCP::client_port] -> [clientside {IP::local_addr}]:[clientside {TCP::local_port}] }"
append info " Clock" {[clock format [clock seconds] -format "%d/%m/%Y:%H:%M:%S %z"]}
log local0. "$info - - \[[clock format [clock seconds] -format "%d/%m/%Y:%H:%M:%S %z"]\]"
}
when SERVER_CONNECTED {
set info "client { [IP::client_addr]:[TCP::client_port] -> [clientside {IP::local_addr}]:[clientside {TCP::local_port}] }"
append info " server { [IP::local_addr]:[TCP::local_port] -> [IP::server_addr]:[TCP::server_port] }"
append info " ethernet { [string range [LINK::lasthop] 0 16] -> [string range [LINK::nexthop] 0 16] tag [LINK::vlan_id] qos [LINK::qos] }"
log local0. "$info - - \[[clock format [clock seconds] -format "%d/%m/%Y:%H:%M:%S %z"]\]"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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