Forum Discussion

alok_sinha_1336's avatar
alok_sinha_1336
Icon for Nimbostratus rankNimbostratus
Mar 05, 2014

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!

 

  • 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?

     

  • 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

     

    • boneyard's avatar
      boneyard
      Icon for MVP rankMVP
      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_50405's avatar
      Cory_50405
      Icon for Noctilucent rankNoctilucent
      tcpdump will give you visibility into the traffic. http://support.f5.com/kb/en-us/solutions/public/0000/400/sol411.html
    • alok_sinha_1336's avatar
      alok_sinha_1336
      Icon for Nimbostratus rankNimbostratus
      Great thanks Cory....:) It is really helpfull. Also is there any command to check whether a VIP is passing the traffic through it. ?