Forum Discussion

Karthik_Krishn1's avatar
Karthik_Krishn1
Icon for Cirrostratus rankCirrostratus
Sep 14, 2016

Export LTM log files version 10.4

Hello,

 

I have a very basic question. I need to export the LTM log files and am having trouble doing so. The version is 10.4 and it does not allow the "tmsh" command nor it does it allow me to navigate to the /var/log/ltm folder.

 

Any suggestions on how i can do this.

 

thanks,

 

karthik

 

1 Reply

  • /var/log/ltm <--is a file; there isn't a "ltm" folder. All LTM log files will start with "ltm". ( the other ltm files are compressed log files that rotate out via a cron job) You could either tar all of the files into one or scp all of the ltm log files to another server.

     

    -Save all files into one file: tar -czvf ltm_log_files_archive.tar.gz /var/log/ltm* -Decompress all files to another box, once SCP'd: tarx -xvf ltm_log_files_archive.tar.gz ~/ or replace "~/" with a directory you want the files extracted to.