Skip to content

Troubleshooting Grouped Flow Filtering Issue in nfdump: Seeking Assistance and Ideas #450

Closed Answered by phaag
piualves asked this question in Q&A
Discussion options

You must be logged in to vote

The point is the order of the flow processing chain, how the individual steps are executed.

  1. The given filter is applied to the flows, read from file.
  2. The matching flows are aggregated in the flow cache.
  3. The flows in the flow cache are sorted and exported.

In your case, it means you would like to apply the filter after aggregation. In order to make this work, you need to create an intermediate file from the exported flow cache. For that, nfdump allows you to write the aggregated flow cache in a new flow file:

nfdump -r exporter_1/ -B -w tmpFile
nfdump -r tmpFile -O flows -o extended 'flows > 10'

By creating this intermediate file, you can filter according to your needs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@piualves
Comment options

Answer selected by phaag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants