[flow-tools] flow-report tag-mask option
Clayton Fiske
clay@bloomcounty.org
Tue, 10 Dec 2002 11:04:29 -0800
On Thu, Dec 05, 2002 at 09:11:58AM +0800, Horatio B. Bogbindero wrote:
> Quoting Clayton Fiske <clay@bloomcounty.org>:
>
> > Am I doing something wrong, or does the tag-mask option not work
> > in flow-report configs? My config is:
> >
> > stat-report test
> > type source/destination-tag
> > fields +octets,-flows,-packets,-duration,-bps,-pps
> > tag-mask 0xFF0000 0xFF0000
> > format ascii
> > output /var/ft/cfg/report.test
> >
> > Whether I change the tag-mask to 0xFFFF00 or 0x0F0000 or any other
> > combo, it seems to report by the full tags instead of the masked
> > ones.
> >
>
> are you using version 0.62?
>
> it does not seem that you are applying the tag at all. does
> you stat-definition line look like this?
>
> stat-definition test-def
> tag MY_TAG
Well, the flows are already tagged when they are fed into flow-report.
Do I have to tag them again to get the tag mask to work?
-c