Re: input framework - reading data from files - set vs table data structure?
Justin Azoff <[email protected]>
| Newsgroups | gmane.comp.security.detection.bro |
|---|---|
| Message-ID | <CAPfnCugw21Ev96fSOeHKk2SgxejrTDS-+kag8XqK_CBXrRyjfA@mail.gmail.com> |
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