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.
caunon
Staff
Staff
Article Id 258203
Description

This article describes how to change the FortiView log location.

Scope FortiGate v7.x.
Solution

For example:

Under FortiGate -> Dashboard -> FortiView Web Sites it is not possible to see the logs properly expect.

On the top right, it shows the wrong log location (for example,  Log location: FortiGate Cloud or FortiCloud icon).

1.png

To fix the issue:

From FortiGate GUI:
Go to Dashboard -> FortiView Web Sites -> Settings -> Edit Dashboard Widget - FortiView Web Sites ->
Data Source and choose 'Specify'.


Device: Choose the log location wanted (For example, FortiGate).

2.png

I

n some situations, it may not be possible to see the choice in the GUI. Consider correcting the setting via the CLI command.

From FortiGate CLI :

 

FGT # config system admin

FGT (admin) # edit admin   <----- Or put the admin user wanted.

FGT (admin) # config gui-dashboard    

FGT (admin) # show     <----- To search for name 'FortiView Web Sites' focuses. For example, it is under edit 9.
FGT (admin) # edit 9

FGT (gui-dashboard) # edit 9

FGT (9) # config widget

FGT (widget) # edit 1

FGT (1) # set fortiview-device disk  <----- To change the log location from FortiCloud or FortiGate Cloud to the log on FortiGate.

FGT (1) # end

FGT (9) # end

FGT (admin) # end

FGT #   

 

Note:

The log location can be configured with fortiview-device via CLI command:

 

set fortiview-device disk                   <----- To point the log location to FortiGate's disk.

set fortiview-device memory           <---- To point the log location to FortiGate's memory.

set fortiview-device fortianalyzer    <----- To point the log location to FortiAnalyzer.

set fortiview-device forticloud       <----- To point the log location to FortiGate Cloud or FortiCloud

 

Then, it will be possible to see logs under FortiView ( FortiView Web Sites ) with the log location expected.


3.png