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.
hlngan
Staff
Staff
Article Id 312010
Description This article describes the changed behavior of miglogd and syslogd on v7.0.
Scope FortiGate v7.0.
Solution

Before v7.0, the Syslog sent an information counter on miglogd:

 

diagnose test app miglogd 6

2024-04-29 12:17:15 mem=61774201, disk=61657447, alert=0, alarm=0, sys=123548402, faz=0, faz-cloud=0, webt=0, fds=0
2024-04-29 12:17:15 interface-missed=237047
2024-04-29 12:17:15 Queues in all miglogds: cur:0 total-so-far:0
2024-04-29 12:17:15 global log dev statistics:
2024-04-29 12:17:15 syslog 1: 2024-04-29 12:17:15 sent=61774203, failed=02024-04-29 12:17:15 , cached=0, dropped=0 2024-04-29 12:17:15 , relayed=02024-04-29 12:17:15
2024-04-29 12:17:15 syslog 2: 2024-04-29 12:17:15 sent=61774203, failed=02024-04-29 12:17:15 , cached=0, dropped=0 2024-04-29 12:17:15 , relayed=02024-04-29 12:17:15

 

After v7.0, use 'diagnose test application syslogd 4'.

 

diagnose test app syslogd 4
syslog=336, nulldev=0, webtrends=0, localout_ioc=370, alarms=0
global log dev statistics:
syslog 0: sent=336, failed=0, cached=0, dropped=0

localout-ioc statistics in root:
sent=0, failed=1, cached=0, dropped=217

 

Notes:

  • Since FortiOS v6.4.2, the tasks that miglogd used to handle have been divided among several specialized background programs. Currently, miglogd mainly builds and sends out log messages, while the other processes receive and use those logs.
  • syslogd handles syslog services on FortiGate devices. It takes care of organizing log events and sending them to remote log servers. In older versions, miglogd was used. Starting with FortiOS v7.0, syslogd is used. Currently, syslogd listens to the logs sent out by miglogd and manages forwarding them using syslog.

 

Related article:

Technical Tip: Short list of processes on the FortiGate