Forum Discussion
how to see current traffic logs on LTM
Hello All, Please let me know how to check the current traffic/error logs on LTM via command line. thanks in advance!
- Kevin_StewartEmployee
Actually I have asked to share the report for a perticular VIP to which traffic is coming from multiple sources. everything about that means how much requests coming to that VIP on daily basis.
The raw data for any given virtual server can be obtained from the command via tmsh:
tmsh show /ltm virtual [virtual name]
You can get further statistical information, compiled by date, in the Statistics Dashboard.
the ltm log with certainly show you something, mainly things reported by the LTM module.
but it wont show you anything about traffic, not sure what you exactly expect to see, can you give some more details on that?
- Cory_50405Noctilucent
From CLI (bash), run 'tail -f /var/log/ltm'
From CLI (tmsh), first do 'run util bash', then run the aforementioned tail command
This will show you real-time logs happening in LTM
- tcpdump gives you full visibility indeed, if you need to just checks if traffic is passed you could look at the statistics for the virtual server and pool member.
- Cory_50405Noctilucenttcpdump will give you visibility into the traffic. http://support.f5.com/kb/en-us/solutions/public/0000/400/sol411.html
- alok_sinha_1336NimbostratusGreat thanks Cory....:) It is really helpfull. Also is there any command to check whether a VIP is passing the traffic through it. ?
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