Forum Discussion
Reginald_Sible1
Feb 06, 2016Nimbostratus
Can you Tail -f /var/ltm/logs and specify what IP you DO NOT want to see?
Can you Tail -f /var/ltm/logs and specify what IP you DO NOT want to see?
Hamish
Feb 06, 2016Cirrocumulus
grep -v is your friend here...
tail -f /var/log/ltm | grep -v replace_ip_here
That will show you all lines, EXCEPT ones that contain the IP address you don't want to see. If you want to filter it further, just pipe (That's the vertical bar) through another grep. or you can use egrep and a regex in the filter.
H
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