mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Bump external test suites, filter some telemetry.log entries
This commit is contained in:
parent
545b867ddd
commit
bfc2374c8f
3 changed files with 9 additions and 5 deletions
10
testing/external/scripts/testing-setup.zeek
vendored
10
testing/external/scripts/testing-setup.zeek
vendored
|
@ -27,17 +27,21 @@ hook Telemetry::log_policy(rec: Telemetry::Info, id: Log::ID, filter: Log::Filte
|
|||
break;
|
||||
}
|
||||
|
||||
# Filter out veto metrics and also loaded_script logs and telemetry logs due
|
||||
# depending on the configuration (heavily).
|
||||
hook Telemetry::log_policy(rec: Telemetry::Info, id: Log::ID, filter: Log::Filter)
|
||||
{
|
||||
if ( rec$prefix != "zeek" )
|
||||
return;
|
||||
|
||||
# Filter all event-handler-invocations entries from telemetry.log
|
||||
# except those having something to do with connections.
|
||||
# except those having something to do with connection_*
|
||||
if ( rec$name == "event-handler-invocations" && /connection_.*/ !in cat(rec$label_values) )
|
||||
break;
|
||||
|
||||
# Filter out the LoadedScripts stream due to platform dependent
|
||||
# difference in the scripts loaded, and also filter out Telemetry
|
||||
# log counts.
|
||||
if ( rec$name == /log-.*/ && /LoadedScripts::LOG|Telemetry::LOG/ in cat(rec$label_values) )
|
||||
break;
|
||||
}
|
||||
|
||||
# The IMAP analyzer includes absolute filenames in its error messages,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue