Hello
Just started to play with tagging flows. Now I wanted to create reports via flow-report.
The thing is that it doesn't resolve the tags to name and rather prints them numerical.
Flow-stat is working fine by giving me name rather then numbers.
I.e. flow-stat output # --- ---- ---- Report Information --- --- --- # # Fields: Total # Symbols: Enabled # Sorting: None # Name: Source/Destination Tag # # Args: flow-stat -f32 -n # # # Src Tag Dst Tag flows octets packets # EXTERNAL PR-GENERAL 81180 148366250 861319 PR-GENERAL EXTERNAL 74690 844154175 992709 PR-SHARED EXTERNAL 29112 18212864 51768 EXTERNAL PR-SHARED 26486 9032523 47884 PR-COLO EXTERNAL 11131 131688307 183334 NO-GENERAL PR-GENERAL 719 962975 4202 EXTERNAL PR-COLO 12362 30459928 162341 PR-GENERAL NO-GENERAL 529 1281128 8356 EXTERNAL NO-GENERAL 82382 146979099 860164 EXTERNAL PR-INFRAST 674 1525137 5234 NO-GENERAL PR-SHARED 534 225848 816 PR-SHARED NO-GENERAL 360 213616 2862 PR-INFRAST EXTERNAL 642 1168791 5039 NO-GENERAL EXTERNAL 18203 148862051 190969 PR-INFRAST NO-GENERAL 44 2636399 12756 NO-GENERAL PR-COLO 34 14705 113 PR-COLO NO-GENERAL 30 40701 449 PR-GENERAL PR-GENERAL 1 55 1 NO-GENERAL PR-INFRAST 47 1472756 5335 EXTERNAL EXTERNAL 35 17690 209 PR-INFRAST PR-INFRAST 15 20488 234
flow-report output: stat-report PR_TAG_REPORT type source/destination-tag output format ascii fields +last,+key1,+key2,+octets,-other,-flows,-packets,-duration
[EMAIL PROTECTED]:~/work/colo$ flow-cat /export/flows/full/2004/2004-09/2004-09-21/ft-v05.2004-09-21.120000+0000 | flow-tag -T PR_DATACENTRE -t tag.cfg | flow-report -S PR_REPORTS -s stat.cfg | less
# recn: last,source-tag*,destination-tag*,octets
1095768059,0,1,148366250
1095768059,1,0,844154175
1095768059,3,0,18212864
1095768059,0,3,9032523
1095768059,4,0,131688307
1095768059,65537,1,962975
1095768059,0,4,30459928
1095768059,1,65537,1281128
1095768059,0,65537,146979099
1095768059,0,2,1525137
1095768059,65537,3,225848
1095768059,3,65537,213616
1095768059,2,0,1168791
1095768059,65537,0,148862051
1095768059,2,65537,2636399
1095768059,65537,4,14705
1095768059,4,65537,40701
1095768059,1,1,55
1095768059,65537,2,1472756
1095768059,0,0,17690
1095768059,2,2,20488
Any ideas?
Cheers Sven
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Flow-tools mailing list [EMAIL PROTECTED] http://mailman.splintered.net/mailman/listinfo/flow-tools
