mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Zeek Statistics
- Added statistics hook - Fixed rlimit usage - Removed POpen for windows implementation layer - Completed statistics plugin
This commit is contained in:
parent
fbf5b68d6f
commit
c3b9756576
8 changed files with 135 additions and 0 deletions
|
@ -792,6 +792,17 @@ type ReporterStats: record {
|
|||
weirds_by_type: table[string] of count;
|
||||
};
|
||||
|
||||
## Statistics about how many times each event name is queued.
|
||||
##
|
||||
## .. zeek:see:: Statistics::get_and_reset_event_name_statistics
|
||||
type EventNameCounter: record {
|
||||
## Name of the zeek event.
|
||||
name: string &log;
|
||||
## Times it was queued, as captured by event hook.
|
||||
times_queued: count &log;
|
||||
} &log;
|
||||
type EventNameStats: vector of EventNameCounter;
|
||||
|
||||
## Table type used to map variable names to their memory allocation.
|
||||
##
|
||||
## .. todo:: We need this type definition only for declaring builtin functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue