Skip to main content
maxrva
New Member
January 25, 2016
Question

Can log be kept in NAS

  • January 25, 2016
  • 1 reply
  • 10410 views

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

If possible please guide me how to configure? 

    1 reply

    awasfi_FTNT
    Staff
    Staff
    January 26, 2016

    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/config_log.16.19.html

     

    Regards

    maxrva
    maxrvaAuthor
    New Member
    January 26, 2016

    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
    Staff
    Staff
    January 26, 2016

    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,