Forum Discussion
Jeremy_Lanzarot
Sep 24, 2008Nimbostratus
Irule to log client source IP
I am trying to log the source IP address of every request that hits a VIP on a 4.2 BigIP to a file, /var/log/ldap_clients.log on the Bigip. Right now there is no irule on the VIP, it is just using a ...
Jeremy_Lanzarot
Oct 01, 2008Nimbostratus
Hi, I tried to paste this into my 4.2 PTF 10 box:
rule log_client_address {
log local0. "Client IP: " + client_addr
use pool corp_ldap_3895
}
I am getting this error:
Error 331835 -- Rule string to tree failed. - syntax error at 'rule'
line 1: rule log_client_address {
Any ideas? Claretian, you said you were able to get the above to work?
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