Forum Discussion
Albert__Tase_70
Nimbostratus
Dec 06, 2005help with irule to log http and https traffic
I am running a 1500 on 9.1 code can I use an Irule to log this traffic ? if so how do I do it ?
Thanks
unRuleY_95363
Dec 07, 2005Historic F5 Account
Try this one:
when HTTP_REQUEST {
set uri [HTTP::uri]
set host [HTTP::host]
}
when SERVER_CONNECTED {
log local0. "[IP::client_addr]:[TCP::client_port] -> [IP::server_addr]:[TCP::server_addr] for http://$host$uri"
}
when LB_FAILED {
log local0. "[IP::client_addr]:[TCP::client_port] -> FAILED for http://$host$uri"
}
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