diff --git a/testing/btest/Baseline/logging.remote-types/receiver.ssh.log b/testing/btest/Baseline/logging.remote-types/receiver.ssh.log index 5628efda11..bd90306440 100644 --- a/testing/btest/Baseline/logging.remote-types/receiver.ssh.log +++ b/testing/btest/Baseline/logging.remote-types/receiver.ssh.log @@ -1,2 +1,2 @@ # b i e c p sn n a d t iv s sc ss se -T -42 SSH::SSH 21 123 10.0.0.0/24 10.0.0.0 1.2.3.4 3.14 1299722788.39808 100.0 hurz 4,2,3,1 AA,BB,CC EMPTY +T -42 SSH::SSH 21 123 10.0.0.0/24 10.0.0.0 1.2.3.4 3.14 1299727902.65854 100.0 hurz 4,1,3,2 CC,BB,AA EMPTY diff --git a/testing/btest/Baseline/logging.types/ssh.log b/testing/btest/Baseline/logging.types/ssh.log index 56bd94616d..b20a2fca37 100644 --- a/testing/btest/Baseline/logging.types/ssh.log +++ b/testing/btest/Baseline/logging.types/ssh.log @@ -1,2 +1,2 @@ # b i e c p sn n a d t iv s sc ss se -T -42 SSH::SSH 21 123 10.0.0.0/24 10.0.0.0 1.2.3.4 3.14 1299722790.49273 100.0 hurz 2,1,4,3 BB,AA,CC EMPTY +T -42 SSH::SSH 21 123 10.0.0.0/24 10.0.0.0 1.2.3.4 3.14 1299727493.47095 100.0 hurz 4,1,3,2 CC,BB,AA EMPTY diff --git a/testing/btest/logging/remote-types.bro b/testing/btest/logging/remote-types.bro index 57874c7c82..a3dbe1f163 100644 --- a/testing/btest/logging/remote-types.bro +++ b/testing/btest/logging/remote-types.bro @@ -38,11 +38,9 @@ export { }; } -global log_ssh: event(rec: Log); - event bro_init() { - Log::create_stream(SSH, [$columns=Log, $ev=log_ssh]); + Log::create_stream(SSH, [$columns=Log]); } ##### diff --git a/testing/btest/logging/remote.bro b/testing/btest/logging/remote.bro index 18fb7e4f2e..3ff8527cc9 100644 --- a/testing/btest/logging/remote.bro +++ b/testing/btest/logging/remote.bro @@ -28,11 +28,9 @@ export { }; } -global log_ssh: event(rec: Log); - event bro_init() { - Log::create_stream(SSH, [$columns=Log, $ev=log_ssh]); + Log::create_stream(SSH, [$columns=Log]); Log::add_filter(SSH, [$name="f1", $path="ssh.success", $pred=function(rec: Log): bool { return rec$status == "success"; }]); }