Modifying the Default Report
Much like with flow-nfilter, you can modify flow-report's behavior from the command line. The program supports five variables: TYPE, SORT, FIELDS, OPTIONS, and RPTOPT. I'll cover each with an example later in this chapter. For now, here's a brief look at each variable:
TYPEtellsflow-reportwhich report to run.flow-reportsupports more than 70 report types. Much of this chapter is a discussion of the reports I find most useful. Theflow-reportmanual page contains a complete list.SORTcontrols the data display order. You can sort most reports by any field in the report.FIELDSlets you adjust the fields that appear in a report.OPTIONSactivates or deactivates various report-wide features.RPTOPTgives options to pass ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access