Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
MORAMADAN
New Contributor III

Export forwarded logs in csv format

Hello Bro,

              I have been trying to export "forwarded logs" in a csv format for filtration process but still don't know how? any ideas?

knowung that, fortigate software version 7.0.11, and no fortianalyzer

TIA

M.Ramadan
M.Ramadan
11 REPLIES 11
srajeswaran

Hi Ramadan,

 

Can you try this python script? I tested it few times and it worked for me.
You just need to change the input file name to your file "exported from fortigate traffic log" section.

# Example usage
input_file = 'disk-traffic-local-2023_06_06.log'
output_file = 'output2.xlsx'

Regards,
Suraj
- Have you found a solution? Then give your helper a "Kudos" and mark the solution.
MORAMADAN

Hello Suraj,

              Thank you so much for the response, and I am trying it and back yo you with the result Bro.

M.Ramadan
M.Ramadan
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors