Skip to main content
awasfi_FTNT
Staff
Staff
November 9, 2016

Technical Note: Using custom index to speed up Log View

  • November 9, 2016
  • 0 replies
  • 1863 views

Description

Custom index can be used on FortiAnalyzer to accelerate searching through logs and load the results faster.

Solution

FortiAnalyzer

Solution

Example:

config system sql
    config custom-index
        edit <Integer>
            set device-type Fortigate
            set index-field <Field_Name>
            set log-type <Type>
        next 
    end
end


Use '?' to list available index fields and log types:


set index-field ?
set log-type ?


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


Verify Skip Index Status:

diagnose test application fazsvcd 2
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


Set Traffic Log Filter to Source IP and download the logs:

b494541f.png


ce997445.png

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT