mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

- Metrics now work on cluster deployments with no caveats. It should be completely transparent. Intermediate updates to speed some detection will come later.
17 lines
259 B
Text
17 lines
259 B
Text
|
|
module Metrics;
|
|
|
|
export {
|
|
|
|
}
|
|
|
|
event Metrics::log_it(filter: Filter)
|
|
{
|
|
local id = filter$id;
|
|
local name = filter$name;
|
|
|
|
write_log(network_time(), filter, store[id, name]);
|
|
reset(filter);
|
|
|
|
schedule filter$break_interval { Metrics::log_it(filter) };
|
|
}
|