Skip to main content
ksapeth
New Member
April 6, 2018
Question

Fortigate 100D Not Sending Logs to Syslog Server

  • April 6, 2018
  • 1 reply
  • 48655 views

I work at an MSSP and am trying to get my clients Fortigate 100D to send its logs to our syslog server. The server is listening on 514 TCP and UDP and is configured to receive the logs.

 

FortiOS Version: 5.4.3,build 1111

 

The Fortigate is configured in the CLI with the following settings:

 

get log syslogd setting status : enable server : 10.0.0.152 reliable : disable port : 514 csv : disable facility : local0

 

It is configured to log all events in the GUI (Local Traffic Log and Event Logging) and the log graph shows about 100MB of logs per day. 

 

Logs are set to be stored on the Disk, Local Reports are disabled, logs are not sent to FortiAnalyzer, and logs are sent to my customers FortiCloud account but I cannot find any documention that would say that sending them to FortiCloud would prevent them from being sent to a syslog server.

 

The syslog server however is not receivng the logs. Doing traffic dumps on a device with a SPAN/mirror port shows that the fortigate is not even attempting to send the logs, there is no record of any traffic going from it to the syslog server. 

 

Is there any reason that the FortiGate will not send them? The configuration appears correct.

1 reply

mahesh_secure
New Member
April 7, 2018
Hi Share the below command output ( connect Putty) Diagnos sniffer packet any 'dst 10.0.0.152' 4 0 Also share the below details config log syslogd setting Show full-configuration Regards Mahesh
ksapeth
ksapethAuthor
New Member
April 10, 2018

There was no traffic going from the fortigate to the syslog server after running diag sniffer packet any  'dst 10.0.0.152' 4 0

 

Here is the output of the other command:

 

FG100D3G16837025 (setting) # show full-configuration config log syslogd setting set status enable set server "10.0.0.152" set reliable disable set port 514 set csv disable set facility local0 set source-ip "10.10.10.2" end

emnoc
New Member
April 10, 2018

Is 10.10.10.2 up ?

 

Does the  route table show  a route for 10.0.0.152 ?

 

 

e.g

get router info routing all | grep 10.

 

NOTE: if all looks good, disable and re-enable the syslogd cfg. since v5.2.3 , I've seen strange things with  fortiOS syslog-configurations that needs a kick in the pants ;)

 

config log syslogd setting set status disable

end

config log syslogd setting set status enable

end