Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.5

execute clear logs ems

execute clear logs ems

clears and/or manages FortiClient EMS logs

Synopsis

execute clear logs ems clears FortiClient EMS logs from the host that are older than a specified number of days.

Provide the number of days (minimum 1) to the --delete.older flag.

If the --delete.older flag is not specified, a default value of 4 days will be used.

execute clear logs ems [flags]

Options

      --delete.older int   The maximum number of days a log file should be kept before it is deleted (default 4)
  -h, --help               help for ems

See also

execute clear logs ems

execute clear logs ems

clears and/or manages FortiClient EMS logs

Synopsis

execute clear logs ems clears FortiClient EMS logs from the host that are older than a specified number of days.

Provide the number of days (minimum 1) to the --delete.older flag.

If the --delete.older flag is not specified, a default value of 4 days will be used.

execute clear logs ems [flags]

Options

      --delete.older int   The maximum number of days a log file should be kept before it is deleted (default 4)
  -h, --help               help for ems

See also