Zeek Summarizer is a command-line tool to analyze and summarize Zeek log files. It supports connection logs, DNS, HTTP, and SSL/TLS logs and provides global statistics as well as detailed per-IP or per-port summaries.
git clone https://github.com/stratosphereips/zeek-summarizing.git
cd zeek-summarizer
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
See requirements.txt
.
python zeek-summarizer.py -d <zeek_log_directory> [options]
-d, --directory
(required): Path to the directory containing Zeek logs.-r, --require-activity
: Show only IPs that appear in non-conn logs.-o, --only-conn
: Show only IPs that appear only in conn logs.-p, --per-port
: Show summary per port instead of per IP.--debug
: Show debug information for internal operations.
python zeek-summarizer.py -d ./logs
python zeek-summarizer.py -d ./logs -r
python zeek-summarizer.py -d ./logs -p
python zeek-summarizer.py -d ./logs -o --debug
conn.log
dns.log
http.log
ssl.log
Logs may be compressed with .gz
and can use rotated filenames like conn.01:00:00-02:00:00.log.gz
.
Created with ❤️ for Zeek network traffic analysis.