policy/misc/stats.bro
-
Stats
Log memory/packet/lag statistics. Differs from
policy/misc/profiling.bro in that this
is lighter-weight (much less info, and less load to generate).
Detailed Interface
Options
-
Stats::stats_report_interval
-
How often stats are reported.
Types
-
Stats::Info
Type: | record
- ts:
time &log
Timestamp for the measurement.
- peer:
string &log
Peer that generated this log. Mostly for clusters.
- mem:
count &log
Amount of memory currently in use in MB.
- pkts_proc:
count &log
Number of packets processed since the last stats interval.
- events_proc:
count &log
Number of events processed since the last stats interval.
- events_queued:
count &log
Number of events that have been queued since the last stats
interval.
- lag:
interval &log &optional
Lag between the wall clock and packet timestamps if reading
live traffic.
- pkts_recv:
count &log &optional
Number of packets received since the last stats interval if
reading live traffic.
- pkts_dropped:
count &log &optional
Number of packets dropped since the last stats interval if
reading live traffic.
- pkts_link:
count &log &optional
Number of packets seen on the link since the last stats
interval if reading live traffic.
- bytes_recv:
count &log &optional
Number of bytes received since the last stats interval if
reading live traffic.
|
Events
-
Stats::log_stats
-
Event to catch stats as they are written to the logging stream.