# Export LTM log files version 10.4

**URL:** <https://community.f5.com/t/export-ltm-log-files-version-10-4/4865>\
**Category:** Technical Forums\
**Tags:** tmos, ltm, application-delivery\
**Created:** [September 14, 2016, 1:40pm UTC](https://community.f5.com/t/export-ltm-log-files-version-10-4/4865 "2016-09-14T13:40:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik\_Krishn1](https://avatars.discourse-cdn.com/v4/letter/k/0ea827/32.png) [@Karthik\_Krishn1](https://community.f5.com/u/Karthik_Krishn1)\
**Post date:** [September 14, 2016, 1:40pm UTC](https://community.f5.com/t/export-ltm-log-files-version-10-4/4865/1 "2016-09-14T13:40:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Shaun\_Simmons1](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@Shaun\_Simmons1](https://community.f5.com/u/Shaun_Simmons1)\
**Post date:** [October 3, 2016, 3:33pm UTC](https://community.f5.com/t/export-ltm-log-files-version-10-4/4865/2 "2016-10-03T15:33:18Z")

</div>

/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.
