Bump external test suites, filter some telemetry.log entries

This commit is contained in:
Arne Welzel 2023-02-27 13:04:40 +01:00
parent 545b867ddd
commit bfc2374c8f
3 changed files with 9 additions and 5 deletions

View file

@ -1 +1 @@
fae5bc9cfa6d57c9bcfed4dea6d0cd5c4a15932d
2adb32810742823cddea39d9a7ced7e45df67131

View file

@ -1 +1 @@
0520a9854fb0591916bb88f68e98ed5750f1b7e6
41f6eb60c626316f0554548fcfa1ab07ddcf61a0

View file

@ -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,