N4SOC / fortilogcsv

Converts Fortigate log exports into CSV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forti Log CSV Converter

Converts fortigate log exports into CSV files

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

Usage

  1. Export .log file from Fortigate
  2. Convert log to csv:

Python3 convert.py path/to/fortigate.log

About

Converts Fortigate log exports into CSV

License:MIT License


Languages

Language:Python 100.0%