2

I need to obtain netflow record in csv format, but as a lot of traffic is in network, nfdump return information in MBytes. I have no choise but to use one option in NFDUMP to obtain traffic information in bytes.

My current command is:

nfdump -R netflow/ -q -o csv 'src net 33.1.1.0/24 and dst net 33.1.2.0/24' 
MM Manuel
  • 375
  • 2
  • 4
  • 16

1 Answers1

4

Assuming your are reading from a file:

nfdump -r nfcapd.2017xxxxx -o extended -o csv

will give headers and a summary, while:

nfdump -r nfcapd.2017xxxxx -o extended -o csv -q

removes both.

Not quite sure how to keep only the headers.

Stephen Rauch
  • 47,830
  • 31
  • 106
  • 135