Forum Discussion
How to GREP Monitor Status Spesific Pool or VS in Range Time
Hi,
you can use this command:
See between a specific range time:
sed -n '/Apr 26 03:25:03/,/Apr 26 04:14:32/p' /var/log/ltm
See between a specific range time with condition (grep: status and pool name):
sed -n '/Apr 26 03:25:03/,/Apr 26 04:14:32/p' /var/log/ltm | grep "status down" | grep "Pool member"
keep me in touch
regards
Hii Yosefff,
I try your command at CLI like pics bellow.
Are this comment saved at another location folder ? its different location with ltm.gz at /var/log/ltm right ? That comment will capture spesific range n pool member name with status down, right ? How can i get that log file saved ? I think it will appear at CLI directly.
Thankkyouuu ...
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
