FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
pginete
Staff
Staff
Article Id 243286
Description This article describes why the 'execute report run' command cannot generate the monthly report.
Scope

FortiGate v7.2.0, v7.0.4+.

Solution

On FortiGate GUI, it is possible to generate daily or weekly local reports by schedule or on demand on devices that have local storage.

 

The equivalent of it in the CLI is the ‘execute report run’ command. Generating a monthly report is not supported by this command as this supports up to 7 days only.

 

Run the command below to confirm:

 

FGT1 # exe report ?

flush-cache    <----- Flush report caches.

recreate-db    <----- Recreate the report database.

run            <----- Generate a report, only the last 7-days data available.

 

Upon running the command below for more than the last 7 days:

 

FGT1 # exe report run default "2023-01-01 00" "2023-01-18 12"

Generating report for layout: default...

Request to generate a report is successfully sent to reportd.

 

The report just shows the last 7 days' data:

 

pginete_0-1674098874912.png