Contents
This is the companion to the logging framework and is looking as though it may be very similar in many respects. The idea behind the API is that it helps users import and use data without having to write Zeek scripts containing the actual data. It is also intended to provide an easier way to manage the flow of data as it’s imported and updated at runtime. It should use existing data structures to hold the data once it’s pulled into Zeek to reuse existing table/set membership (and other) operators.
The input interface is built around three main abstractions:
- Data sources
- A source identifies a set of data that is grouped into a cohesive data set. Mostly referring to a single data file or single table in an SQL database.
- Filters
- A filter takes a specific data input source as its input and decides what of the received information to put into the memory store.
- Readers
A reader interfaces with the external repository of data (file/database/etc) and turns the key-value data contained within into records which can then be passed to the associated data source.
Note that readers will be implemented in C++, not on the script level.
© 2014 The Bro Project.