Re: input framework - reading data from files - set vs table data structure?
Konrad Weglowski <[email protected]>
| Newsgroups | gmane.comp.security.detection.bro |
|---|---|
| Message-ID | <CA+fGMJTusLzWSZjDciG1nKf_mea7s8JmN7GggQ7HJYuJdJngPg@mail.gmail.com> |
Awesome, thank you very much! Konrad On Tue, May 28, 2019 at 12:02 PM Justin Azoff <[email protected]> wrote: > Yep, you just setup a table with only an index like so: > > > https://github.com/zeek/zeek/blob/master/testing/btest/scripts/base/frameworks/input/set.zeek > > On Tue, May 28, 2019 at 11:48 AM Konrad Weglowski < > [email protected]> wrote: > >> Hey, >> >> Is there a way to read data from a file into a "set" data structure >> (instead of "table")? >> >> I would like to read contents of the file that has list of domain names >> for example, one per line and store in a "set" data structure variable. >> >> Thanks, >> >> Konrad >> _______________________________________________ >> Zeek mailing list >> [email protected] >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek > > > > -- > Justin > _______________________________________________ Zeek mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek