Forum Discussion
How to view logs with source and destination ip address.
There is no direct way to log all the client IPs. What you are doing is correct.
But what I will recommend you is that instead of using "log" statement which logs through the local syslog process and then gets forwarded to your remote syslog server.
Use HSL::send to directly send logs to the remote syslog server. The processing for HSL happens within TMOS and hence faster and much more optimized.
If your concern is that you dont want logging on all the time on all the virtuals. You could include your iRule to lookup a datagroup and check logging should be done for that virtual or no.
So to turn it on, you just add the virtual name in a generic datagroup.
Best
Recent Discussions
Related Content
* 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