Hi all ¡¡
I would like to download log files using CLI. I use the command : #execute backup disk log tftp 10.X.X.X event
When I try to open this files with notepad++ or notepad/word, I can't read correctly it. There are a lot of special Characters. I hace tried to rename it to .txt and .cvs (it has not format the file).
How can I read it please? Maybe I need an special viewer?
Regards ¡¡¡
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Please. Can you help me?
what happens when you backup to usb?
Hello,
I do use Fortigate90D and also did roll backup to FTP server.
Log successfully sent to FTP server however, when I open any file, I get special character and cannot open just as escubi's issue.
I have researched and found this article but this looks like applicable to Forti Analyzer.
https://kb.fortinet.com/kb/documentLink.do?externalID=FD35404
Has anyone encountered this issue? How can we open the backed up logs from Fortigate?
My FortiOS is V6.04
Regards,
Actually I have found the solution.
You need to use third party tool to read lz4 file.
Please refer to this link:
https://kb.fortinet.com/kb/documentLink.do?externalID=FD40716
Once I have run this tool, it is now readable!
Hopefully this helps.
Regards,
absolute_sora wrote:Actually I have found the solution.
You need to use third party tool to read lz4 file.
Please refer to this link:
https://kb.fortinet.com/kb/documentLink.do?externalID=FD40716
Once I have run this tool, it is now readable!
Hopefully this helps.
Regards,
When I tried to run this tool with my logs I have received the following error:
Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/tar/TarArchiveInputStream at lz4_reader_main.main(lz4_reader_main.java:10) ... 5 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.archivers.tar.TarArchiveInputStream at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:435) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 6 more
How can this be solved?
Hello. A similar error occurred for me.
I have resolved this problem by using JDK version 8.
Hopefully this helps.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1732 | |
1105 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.