Forum Discussion
How to enable logs on LTM?
Hi, we have enabled log levels for LTM traffic on LTM, however, it is now showing any logs in LTM Configuration utility (System --> Logs --> Local Traffic). Is there any specific setting which I need to do? We are using Big IP 4200 with TMOS 11.4.0
5 Replies
- Matt_Dierick
Employee
You can see log on console through SSH. Type : tail -f /var/log/ltm You can set the log level on System > Logs > Configuration
If you need more logs, you can use iRule in order to display what you want.
- Matt_Dierick
Employee
What kind of log do you want to get ?
- Matt_Dierick
Employee
For HTTP Request, I advice you to use iRule :
https://devcentral.f5.com/articles/-the101-irules-101-logging-amp-comments.UkqbE2RRntY
when HTTP_REQUEST { log local0. “Requested hostname: [HTTP::host] from IP: [IP::local_addr]” }For Member UP and DOWN : tail -f /var/log/ltm
- Pranav_73262
Nimbostratus
Thanks. Now I am getting logs in LTM.
- Matt_Dierick
Employee
U R Welcome.
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