Forum Discussion

Senthil_7991's avatar
Senthil_7991
Icon for Nimbostratus rankNimbostratus
Jun 23, 2017

POOL Member Logs for Specific time and Specific server

Hi Team,

 

Recently, we had an issue with one of our POOL member server, so, I would like to take a logs on that time with related pool member server.

 

Can you please give us commend to get the logs during that time of issue

 

We have a two servers on our pool member pointing to single VIP

 

pool member xxxxx-WPSAP_HTTP94 (pointing to 2 servers) 1) 10.xx.xx.xx 2) 10.xx.xx.xx

 

VIP VIP_xxxxx-WPSAP_HTTP94

 

BIG-IP LTM == Version 11.6.1

 

3 Replies

  • Ideally logs would be sent to an external logging system that features a robust search capability. However I know that's not always feasible.

    The GUI has a basic search capability (System -> Logs). I can't find an elegant way to search based on date range using common tools available in bash. You may be best served to just focus on the particular file in /var/log that contains the date range of interest. If you're not sure which file, the following will search all ltm log files in /var/log. From there you can scan the results until you get to your dates of interest:

    (following performed at a bash prompt)

    cd /var/log
    zgrep  ltm*
    

    Where is your pool member IP, pool name, etc. zgrep will search through compressed files (the ltm..gz files). Note the search is case-sensitive. You can add the -i flag for a case-insensitive search. (View grep man page for more options.)

    If above doesn't help, comment back on the specific log information you're looking for and we can refine the search.

  • I have the same issue.

     

    I tried checking the logs from the System GUI. But, That did not help. What I need is, to be able to check, whether the nodes were up during specific period of time or not. I tried looking with cat | grep but that does not help.

     

    Please let me know if you can tell me the command to check the nodes status for specific IP and for the Specific period of time.