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
Nimbostratus
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.
eben
Jul 06, 2017Nimbostratus
The answer to this is "It depends" 1. what information you want to get. 2. what module you are troubleshooting. 3. etc. for instance, if you want information on config change, who made the change to the box and details like that, You will be looking at the audit 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