Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
maxrva
New Contributor

Can log be kept in NAS

I wonder if fortigate logging can transfer and kept in NAS.

If possible please guide me how to configure? 

6 REPLIES 6
awasfi_FTNT
Staff
Staff

Hi,

 

NAS is not one of supported devices to receive logs, however If you can configure your NAS with syslog configuration then you may able to send the logs to it.

For syslog configuration on FortiGate please refer to:

http://docs-legacy.fortinet.com/fgt/handbook/cli52_html/index.html#page/FortiOS%25205.2%2520CLI/conf...

 

Regards

AWASFI
maxrva

Hi, Thanks for the replied

My NAS does support syslog server and it is enable.

So i just need to type the following in CLI.

 

set log syslogd setting

set status enable

set facility {which one should i use?, is it user?}

set port {port}

set server {IP} Is this the ip of syslog server?

set source-ip {IP} Is this fortigate ip?

end

awasfi_FTNT

Hello,

 

1) The Facility value is a way of determining which process of the machine created the message. Since the Syslog protocol was originally written on BSD Unix, the Facilities reflect the names of Unix processes and Daemons.

For more details you can search for syslog facility online.

However the default is local7 , you can leave it to the default.

2) server is the syslog server IP

3) source-ip is the IP of the FortiGate interface that can reach the syslog server.

You can configure the same from GUI by checking "Send Logs to Syslog" under log settings.

 

Regards,

 

 

AWASFI
ede_pfau

...and port is 514, using UDP.

Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
awasfi_FTNT

Yes port 514 is the default port, however it could be different on the syslog server and you can modify it to match the port used by the server.

AWASFI
maxrva

Thanks for the help. It's working now

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors