Fortinet white logo
Fortinet white logo

CLI reference

diagnose debug application

diagnose debug application

Use this CLI to view logs for various daemons based on system mode:

  • Sync daemon: Available in Sensor and Center modes.
  • Control (ctrl) daemon: Available in all modes.
  • File archive daemon: Available in Sensor and Standalone modes.

If no variable is specified, the command displays real-time daemon logs by default.

Syntax

diagnose debug application {sync|ctrl|filearch}

diagnose debug application {sync|ctrl|filearch} lines <number>

Variable

Description

sync

Daemon responsible for synchronizing data between center and sensor modes.

ctrl

Daemon responsible for controlling Kafka configurations.

filearch

Daemon responsible for archiving malware files.

lines <number>

Specify a positive integer to display that number of lines from the end (tail) of the selected daemon log.

If the specified number exceeds the total number of lines in the log file, the entire file will be displayed.

<enter>

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

diagnose debug application

diagnose debug application

Use this CLI to view logs for various daemons based on system mode:

  • Sync daemon: Available in Sensor and Center modes.
  • Control (ctrl) daemon: Available in all modes.
  • File archive daemon: Available in Sensor and Standalone modes.

If no variable is specified, the command displays real-time daemon logs by default.

Syntax

diagnose debug application {sync|ctrl|filearch}

diagnose debug application {sync|ctrl|filearch} lines <number>

Variable

Description

sync

Daemon responsible for synchronizing data between center and sensor modes.

ctrl

Daemon responsible for controlling Kafka configurations.

filearch

Daemon responsible for archiving malware files.

lines <number>

Specify a positive integer to display that number of lines from the end (tail) of the selected daemon log.

If the specified number exceeds the total number of lines in the log file, the entire file will be displayed.

<enter>

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