Forum Discussion
EC7
Jul 01, 2016Nimbostratus
IRULE -Caused Errors
I am VERY new to irules. I added the irule below to the my virtual server and 10 minutes later the team notified me that their application was getting errors. I need an irule that will send client I...
Vijay_E
Jul 01, 2016Cirrus
Try this to see if simple logging on the F5 works & if there are no application issues:
when CLIENT_ACCEPTED {
log local0.info "Client Connected, IP: [IP::client_addr]"
}
when SERVER_CONNECTED {
log local0.info "Client: [IP::client_addr], Pool member [IP::server_addr]:[TCP::server_port]"
}
If there are no issues with the application, then try adding the "log 10.1.1.1" statement. This is to rule out any issues with specific logging to the syslog server.
I think you need to use something like this - basically, swap the position of the address and the "local0.info" statement:
log local0.info 10.1.1.1 "Client Connected, IP: [IP::client_addr]"
https://devcentral.f5.com/articles/the101-irules-101-logging-amp-comments
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