mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +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
2
testing/external/commit-hash.zeek-testing
vendored
2
testing/external/commit-hash.zeek-testing
vendored
|
@ -1 +1 @@
|
|||
fae5bc9cfa6d57c9bcfed4dea6d0cd5c4a15932d
|
||||
2adb32810742823cddea39d9a7ced7e45df67131
|
||||
|
|
|
@ -1 +1 @@
|
|||
0520a9854fb0591916bb88f68e98ed5750f1b7e6
|
||||
41f6eb60c626316f0554548fcfa1ab07ddcf61a0
|
||||
|
|
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