Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL zeek FROM community;
LOAD zeek FROM community;
Try it in a temporary SQL session with zeek already loaded. Queries run in this tab; examples using files or services need their own setup.
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
LOAD inet; # if you want to automatically parse IPs and CIDRs.
-- Read a Zeek log file (supports .gz compression and globs)
SELECT * FROM read_zeek('conn.log.gz');
-- Filter by service
SELECT ts, id_orig_h, id_resp_h, service
FROM read_zeek('conn.log.gz')
WHERE service = 'http';
Provided by ynadji. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
The zeek extension adds a read_zeek() table function for natively reading Zeek (formerly Bro) network security monitor TSV log files.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- ynadji/zeek-duckdb
- License
- MIT
- Maintainers
- ynadji
- Written in
- C++
- Build source
f79f5e278090- Build definition
- Community descriptor