mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
17 lines
284 B
Text
17 lines
284 B
Text
module Test;
|
|
|
|
export {
|
|
redef enum Log::ID += { LOG };
|
|
|
|
type Info: record {
|
|
msg: string &log;
|
|
num: count &log;
|
|
};
|
|
|
|
global log_test: event(rec: Test::Info);
|
|
}
|
|
|
|
event bro_init() &priority=5
|
|
{
|
|
Log::create_stream(Test::LOG, [$columns=Test::Info, $ev=log_test, $path="test"]);
|
|
}
|