Fortigate logs export in a "field1=value","field2=value" format which isn't easily parsed
This script pulls out each field and compiles the events into a single CSV file
Example: Export logs from Fortianalyzer as "csv"
Python3 convert.py path/to/fortigate.log