Forum Discussion
mcorvalan_57694
Aug 29, 2011Nimbostratus
How to log HTTP_REQUEST
Hi All.
I send this post to ask you how can I make the Irule to log when I receive HTTP_REQUEST the name of vs.
for example I could find this
when HTTP_REQUEST {
log local0. "Cli...
nitass
Aug 29, 2011Employee
[root@orchid:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.17.88:http
ip protocol tcp
rules myrule
profiles
http
tcp
}
[root@orchid:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
log local0. "Virtual: [virtual name], Client Address:[IP::client_addr], Request Type:[HTTP::method], Request URI:[HTTP::uri]"
}
}
[root@orchid:Active] config tail /var/log/ltm
Aug 29 22:33:28 tmm tmm[11782]: Rule myrule : Virtual: bar, Client Address:172.28.17.80, Request Type:HEAD, Request 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