Forum Discussion

Root44's avatar
Root44
Icon for Altostratus rankAltostratus
Apr 09, 2017

Connection log for specific time

Hello All,

I am trying to find the logs for specific time but I had hard time to understand it in the CLI. Can somebody please help me with the exact command?

This is what they have on one of the article page - https://support.f5.com/csp/article/K16197 show /sys log range

And this is in the CLI.

NAME Time - Date and Time formats.

MODULE All tmsh modules.

SYNTAX Date/Time Syntax

    now[ [ + | - ]  [ d | h | w | m ] ]
    yyyy-mm-dd[ : | T ]hh:mm[:ss]
    mm-dd[-yyyy][ : | T ]hh:mm[:ss]
    mm/dd[/yyyy][ : | T ]hh:mm[:ss]

   Date Range Syntax

    now[ [ + | - ]  [ d | h | w | m ] ]--now[ [ + | - ]  [ d | h | w | m ] ]
    yyyy-mm-dd[ : | T ]hh:mm[:ss]--yyyy-mm-dd[ : | T ]hh:mm[:ss]
    mm-dd[-yyyy][ : | T ]hh:mm[:ss]--indefinite
    epoch--mm/dd[/yyyy][ : | T ]hh:mm[:ss]
    now[ [ + | - ]  [ d | h | w | m ] ]

Please help.

As always, thanks for the help, guys.

Regards, R

  • Dear,

    this should work ..

    tmsh 
    
    show /sys log ltm range 2015-03-02--2015-03-05
    

    its in Year-Month-date format..

    Regards,

    Mohammed Shiraz