mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Report packet statistics via the telemetry framework
This commit is contained in:
parent
ae3d6a4df0
commit
67802e711a
6 changed files with 62 additions and 8 deletions
|
@ -669,16 +669,16 @@ type SYN_packet: record {
|
|||
##
|
||||
## .. zeek:see:: get_net_stats
|
||||
type NetStats: record {
|
||||
pkts_recvd: count &default=0; ##< Packets received by Zeek.
|
||||
pkts_dropped: count &default=0; ##< Packets reported dropped by the system.
|
||||
pkts_recvd: count &default=0; ##< Packets received by Zeek.
|
||||
pkts_dropped: count &default=0; ##< Packets reported dropped by the system.
|
||||
## Packets seen on the link. Note that this may differ
|
||||
## from *pkts_recvd* because of a potential capture_filter. See
|
||||
## :doc:`/scripts/base/frameworks/packet-filter/main.zeek`. Depending on the
|
||||
## packet capture system, this value may not be available and will then
|
||||
## be always set to zero.
|
||||
pkts_link: count &default=0;
|
||||
bytes_recvd: count &default=0; ##< Bytes received by Zeek.
|
||||
filtered: count &optional; ##< Packets filtered by the packet source.
|
||||
pkts_link: count &default=0;
|
||||
bytes_recvd: count &default=0; ##< Bytes received by Zeek.
|
||||
pkts_filtered: count &optional; ##< Packets filtered by the packet source.
|
||||
};
|
||||
|
||||
type ConnStats: record {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue