printing stream columns

Henri Dubois-Ferriere <[email protected]> Wed, 16 Oct 2019 21:45:46 +0200
Newsgroups gmane.comp.security.detection.bro
Message-ID <CABcA1ruzNDefM16QHP5yJnOqXL4h=q0=LQwDLatCLaKcHS2aAg@mail.gmail.com>
I'm trying to print the record type for each log stream at startup.
Something like:

 for ( id in Log::active_streams ) {
                 local stream = Log::active_streams[id];
                 print stream$path, stream$columns;
}

doesn't work because $columns is a record type, and gets stringified "<no
value description>".

Is there a way to do this in zeek script?

Thanks,
Henri

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek