Skip to content

stratosphereips/zeek-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Zeek Summarizer

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.

🔧 Installation

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

📦 Requirements

See requirements.txt.

🚀 Usage

python zeek-summarizer.py -d <zeek_log_directory> [options]

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.

Screenshots

image

image

📊 Examples

Basic usage

python zeek-summarizer.py -d ./logs

Only show IPs that have non-connection activity:

python zeek-summarizer.py -d ./logs -r

Show per-port summary:

python zeek-summarizer.py -d ./logs -p

Show only connection logs and debug info:

python zeek-summarizer.py -d ./logs -o --debug

📁 Supported Logs

  • 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.

About

Zeek Summarizer is a command-line tool to analyze and summarize Zeek log files

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages