[Bro] Question about the Reducer in the summary statistics framework
Seth Hall
seth at icir.org
Tue Jan 6 13:24:16 PST 2015
> On Jan 6, 2015, at 4:05 PM, Ren, Wenyu <wren3 at illinois.edu> wrote:
>
> SumStats::create([$name="sender-counters",
> $epoch=sample_interval, $reducers=set(r1),
> $epoch_result(ts: time, key: SumStats::Key, result: SumStats::Result) =
> {
> #different construction for different levels
> }]);
>
> Can I also use the priority for this function and where should I put the "&priority=x"?
When you say, “reducer”, do you really mean “calculation”? Your example has only a single reducer attached to it. That result value in the callback will have the results for any reducers and their associated calculations in it.
.Seth
--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro.org/
More information about the Bro
mailing list