mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
get_dns_stats: Expose total cache size and cached text entries
It wasn't possible from script land to determine the total size of the cache table held by the DNS_Mgr. Add the total and also also the TEXT entries count.
This commit is contained in:
parent
16bdcd27bd
commit
2251c67e56
6 changed files with 16 additions and 0 deletions
|
@ -757,6 +757,8 @@ type DNSStats: record {
|
|||
pending: count; ##< Current pending queries.
|
||||
cached_hosts: count; ##< Number of cached hosts.
|
||||
cached_addresses: count; ##< Number of cached addresses.
|
||||
cached_texts: count; ##< Number of cached text entries.
|
||||
cached_total: count; ##< Total number of cached entries.
|
||||
};
|
||||
|
||||
## Statistics about number of gaps in TCP connections.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue