Fortinet white logo
Fortinet white logo

CLI reference

diagnose debug

diagnose debug

Use this command to displays the crash log for a specified date or for the past few days. If no date is provided, the current day's log is shown by default.

Syntax

diagnose debug application {cmdb_event | csfd | httpd | miglogd | sshd | updated | sdigestd | ndrd} <debug_level>
diagnose debug cli <debug_level>
diagnose debug coredump {clear|delete|disable|enable|list|status|upload}
diagnose debug crashlog <days>|<yyyy-mm-dd>|<enter>
diagnose debug {enable | disable}
debug file {clear|disable|enable|info|show|upload}
diagnose debug kernel <debug_level>
diagnose debug process <process_name>

Variable

Description

Default

debug_level

A number from 0 to 8.

crash_log_date

A date in the format of yyyy-mm-dd to filter the crash log by date.

process_name

A specific process name. Available processes and explanations are as follows:

file_helper

File processing daemon

event_flow

Scenario Engine

moat_engine

Text-based AI processing engine.

moat_learn

Learning engine for text-based AI models.

pae2

Binary AI Engine

pae_learn

Binary AI learning Engine

sniffer

Web packet sniffer

sys_mon

System monitoring daemon

oftpd

OFTP (Odette File Transfer Protocol) daemon.

sim_engine

Similarity engine for comparing data patterns or content.

yyyy-mm-dd

Date filter in yyyy-mm-dd format to display crash logs for a specific date.

days

Integer (1–30) to display crash logs from the past specified number of days.

enter

Press Enter without input to display the current day's crash log.

Module/daemon

Description

cmdb_event

Monitor FortiNDR configuration change events.

csfd

Daemon responsible for Fortinet security fabric(csf) connection.

httpd

Daemon responsible for https service.

ldapcached

Daemon responsible for LDAP server querying service.

miglogd

Daemon responsible for system log generation.

ndrd

Daemon responsible for Network Detection and Response (NDR).

sdigestd

Daemon responsible for Network Share file scanning

sshd

Daemon responsible for SSH connections.

updated

Daemon responsible for FortiNDR license and ANN DB updates.

diagnose debug

diagnose debug

Use this command to displays the crash log for a specified date or for the past few days. If no date is provided, the current day's log is shown by default.

Syntax

diagnose debug application {cmdb_event | csfd | httpd | miglogd | sshd | updated | sdigestd | ndrd} <debug_level>
diagnose debug cli <debug_level>
diagnose debug coredump {clear|delete|disable|enable|list|status|upload}
diagnose debug crashlog <days>|<yyyy-mm-dd>|<enter>
diagnose debug {enable | disable}
debug file {clear|disable|enable|info|show|upload}
diagnose debug kernel <debug_level>
diagnose debug process <process_name>

Variable

Description

Default

debug_level

A number from 0 to 8.

crash_log_date

A date in the format of yyyy-mm-dd to filter the crash log by date.

process_name

A specific process name. Available processes and explanations are as follows:

file_helper

File processing daemon

event_flow

Scenario Engine

moat_engine

Text-based AI processing engine.

moat_learn

Learning engine for text-based AI models.

pae2

Binary AI Engine

pae_learn

Binary AI learning Engine

sniffer

Web packet sniffer

sys_mon

System monitoring daemon

oftpd

OFTP (Odette File Transfer Protocol) daemon.

sim_engine

Similarity engine for comparing data patterns or content.

yyyy-mm-dd

Date filter in yyyy-mm-dd format to display crash logs for a specific date.

days

Integer (1–30) to display crash logs from the past specified number of days.

enter

Press Enter without input to display the current day's crash log.

Module/daemon

Description

cmdb_event

Monitor FortiNDR configuration change events.

csfd

Daemon responsible for Fortinet security fabric(csf) connection.

httpd

Daemon responsible for https service.

ldapcached

Daemon responsible for LDAP server querying service.

miglogd

Daemon responsible for system log generation.

ndrd

Daemon responsible for Network Detection and Response (NDR).

sdigestd

Daemon responsible for Network Share file scanning

sshd

Daemon responsible for SSH connections.

updated

Daemon responsible for FortiNDR license and ANN DB updates.