Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.6

debug-filters add

debug-filters add

Adds a new line or field based debug filter. By default only 10 rules are supported. This can be overridden using the --max flag

emscli debug-filters add [flags]

Options

      --field string    An RE2 compatible regular expression to use as filter log field names
      --filter string   An RE2 compatible regular expression to use as filter for debug lines or log field values
  -h, --help            help for add
      --max int         The max number of debug filter rules to support (default 10)

See also

  • debug-filters - for managing debug logging filters to enable debug only for specific things that match the specified filters

debug-filters add

debug-filters add

Adds a new line or field based debug filter. By default only 10 rules are supported. This can be overridden using the --max flag

emscli debug-filters add [flags]

Options

      --field string    An RE2 compatible regular expression to use as filter log field names
      --filter string   An RE2 compatible regular expression to use as filter for debug lines or log field values
  -h, --help            help for add
      --max int         The max number of debug filter rules to support (default 10)

See also

  • debug-filters - for managing debug logging filters to enable debug only for specific things that match the specified filters