Description | This article describes how to export FortiGate logs (Forward Traffic, System Events, & etc.) in CSV/JSON format straight from the FortiGate. |
Scope | FortiOS v7.4+ and v7.6+ |
Solution |
In FortiGate v7.4+ or v7.6+, it is possible to export logs in CSV/JSON format directly from the FortiGate itself.
It is important to take note first that there will be additional steps when the logs in the chosen log page are greater than 500 entries.
Condition 1 -- If logs are less than 500 entries :
Condition 2 -- If logs are greater than 500 entries:
An indication that the bottom-most part of the log page is yet to be reached is when there is still "+" appended in the log number same as seen below. (For example: 500+, 1000+, 5000+, etc.)
There are two options that can be taken to satisfy the pre-requisites mentioned above :
Note: If there is additional information wanted in the generated CSV/JSON file, more options can be ticked in the Gear (Configure Table) button. |
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 2025 Fortinet, Inc. All Rights Reserved.