Forum Discussion
omega7_69107
Nimbostratus
Jun 22, 2007Logging Connections
Is it possible to turn on a level of logging in the GUI that will log connections and which node they get load balanced to, or does that have to be done through an irule?
- JRahm
Admin
Not sure in LTM, but I'd guess no. Yes in GTM, though: - hoolio
Cirrostratus
You would indeed need to use a rule to log client connections through a virtual server and which node the request was sent to. Here is an example:when CLIENT_ACCEPTED { log local0. "client: [IP::remote_addr]:[TCP::remote_port] -> dest: [IP::local_addr]:[TCP::local_port]" } when SERVER_CONNECTED { log local0. "client: [IP::local_addr]:[TCP::local_port] -> dest: [IP::remote_addr]:[TCP::remote_port]" }
- Deb_Allen_18Historic F5 AccountJust be careful of exceeding the capacity of /var with excessive logging, though...
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