Forum Discussion
Adnankhan
Nimbostratus
Feb 15, 2019tcpdump/Logging on vip for 1 week.
Hello Everyone,
I want to run a capture on a specific vip for 1 week.
is there a way to keep writing the capture on file for such a long time.
or if i can turn on the logging on the specifi...
Andy_McGrath
Cumulonimbus
Feb 16, 2019If all you need is to capture the client IP I would say tcpdump is overkill as you could simply log the IP address via an iRule and simply assign it to each Virtual Server to want to log.
The following iRule would log remotely to a syslog server in
172.27.31.10.
when CLIENT_ACCEPTED {
log 172.27.31.10 local0.info "Client Connected, IP: [IP::client_addr]"
}
If you wanted to log locally simply remove the remote IP from the
log command so would log to the LTM logs (/var/log/ltm) which rotate so I would ensure you extract the data you need regularly to avoid losing any logs.Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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