Skip to main content
dayalan
New Member
October 1, 2024
Question

How to convert the FortiGate firewall logs in excel Format

  • October 1, 2024
  • 1 reply
  • 3823 views

How to convert the FortiGate firewall logs in csv format, please provide the solution.

1 reply

Debbie_FTNT
Staff & Editor
Staff & Editor
October 1, 2024

Hey dayalan,

essentially:

 

1. Download the log from FortiGate

-> you should get a list of logs, with each field separated by a space

2. Open Excel, and open an empty worksheet

3. Click on 'Data', then 'From Text/CSV'
4. Select the downloaded log file (you might need to enable 'All Files' in the lower right corner, not just 'Text Files'

EDIT:
5. Set the delimiter to space custom

image.png

 

6. Click on 'Load'
7. This will broadly let you import the data to Excel and you can then export it as csv.

8. Please note that spaces in log messages or other log fields may cause issues with recognizing the individual log fields if you use space as delimiter