Forum Discussion
Manik_282561
Jul 06, 2017Nimbostratus
F5 Log monitoring
We are having LTM,ASM and APM modules in our F5 device. I need to check and monitor the logs on daily basis. Please help me with commands and procedures to check the logs every day.
- Jul 06, 2017
Unix command
ortail -f
will print out the last 10 lines of a file and then wait for the file to grow.tailf
You can try other unix command to check log file
cat /var/log/ltm | more --> It will return page wise log file & press spacebar more /var/log/ltm
If you wanted to see older log(i.e previous day) file then
zcat /var/log/ltm.1.gz | more
Remote log management is always best option to monitor log.
eben_259100
Cirrostratus
Hi Manik
tailf /var/log/ for instance tailf /var/log/ltm. this requires you to be ssh(ed) into the box on a daily basis. Alternatively you can setup remote logging, this should be best as you require daily basis analysis.
HTH eben.
Manik_282561
Jul 06, 2017Nimbostratus
Hi Eben,
Thanks for you comments. Please help me on what needs to be check on daily basis in logs. I had tried the above command in cli I am getting logs.
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