How do I use the @VAR and -v commands.

I would like to pass a start and end time to a filter.

I created the following filter primitives

filter-primitive begin-time
  type time-date
  permit gt @START_TIME

filter-primitive end-time
  type time-date
  permit lt @END_TIME

The command line I run is:
flow-cat /var/local/netflow/ft | flow-report -s resnet.rpt -S
resnet-to-remote-hour -v START_TIME="2005-12-29 12:00" -v
END_TIME="2005-12-29 12:00"

The error I get is:

flow-report: /var/local/netflow/reports/resnet.ftr line 30: Cannot parse
time/date.
flow-report: resnet.rpt line 5: Filters not loaded.
flow-report: ftstat_load(): failed

--
Neil Johnson
Network Engineering Group
Information Technology Services
University of Iowa
(319) 384-0938 
GPG Public Key available upon request

_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to