Skip to main content
awasfi_FTNT
Staff
Staff
January 28, 2026

Technical Tip: Improve filtered log preparation process for faster log file downloads from the GUI

  • January 28, 2026
  • 0 replies
  • 307 views
Description This article describes how to make downloading filtered logs from FortiAnalyzer faster when exporting a large number of log entries from the GUI.
Scope FortiAnalyzer.
Solution

After applying filters in Log View to search for specific logs, the system may return a very large number of entries and pages, especially if the search spans multiple hours or days.

 

Download_1.jpg

 

When trying to download all pages of these logs, the process can take a long time. This is because FortiAnalyzer first has to locate and process all matching log entries before it can generate the download file.

 

Download_2.jpg

 

Download_3.jpg

 

To speed things up, a skip index can be used to optimize the search process and return results more quickly.

For example, if frequently filtered logs are filtered by source IP, this field can be added to the skip index using the CLI:


config custom-skipidx
    edit 2
        set device-type FortiGate
        set log-type traffic
        set index-field srcip
    next
end

 

Once the configuration is applied, verify that skip index is enabled by running the following command:

 

diagnose test application fazsvcd 2

 

The output should show the skip-index status as Enabled, similar to the example below:

 

skip-index: status=Enabled grpstatu=Enabled aggstatus=Enabled nr-chk=0 nr-run=0 avg-run=0.000(sec), nr-agg-run=0 avg-agg-run=0.000(sec)
logview-helper: select-run=0 count-run=0

 

If skip index is not enabled, use the command below to enable (or disable) it as needed:


diagnose test application fazsvcd 52

 

A successful change will be confirmed with a message indicating that the skip-index status has been updated.

 

After adding the field to the skip index, log searches become faster, and exporting the filtered logs from the GUI takes significantly less time than before.