Remove prefix column from telemetry.log

This commit is contained in:
Tim Wojtulewicz 2024-05-31 18:21:51 -07:00
parent f55c0a5292
commit 87717fed0a
7 changed files with 22 additions and 30 deletions

View file

@ -31,7 +31,7 @@ hook Log::log_stream_policy(rec: any, id: Log::ID)
hook Telemetry::log_policy(rec: Telemetry::Info, id: Log::ID, filter: Log::Filter)
{
if ( rec$prefix != "zeek" || /^zeek_log_/ !in rec$name )
if ( /^zeek_log_/ !in rec$name )
break;
if ( /HTTP|DNS|Conn/ !in cat(rec$label_values) )