Either selects only specific fields or selectively excludes only specific fields.


fields [-] FIELD, ...
Required Parameter
FIELD, ...
List of fields. Use comma (,) as a separator.
Optional Parameter
Exclude the fields after the minus symbol (-), these fields are excluded from the output. If you omit this sign, only those fields are selected.


  1. Select only the src_ip and action fields.

    fields src_ip, action
  2. Remove only the line field

    fields – line