Skip to content

A python tool to see ordered zeek log files with colors in the terminal, like termshark.

License

Notifications You must be signed in to change notification settings

stratosphereips/zeek-term

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Zeek-term

Zeek-term is a python program that reads several Zeek log files (conn.log, http.log, files.log, ssl.log, quick.log, dns.log, ntp.log) and prints all the lines sorted by time. It also adds colors so it is easier to analyze.

Features

  • Sorted logs from all the Zeek files.
  • Adds background color.
  • Adds foreground color.
  • Adds a column with the name of the file that each log cames from.

Usage

python zeek-term.py --foreground --directory . |less -RS
  • --foreground is to use foreground colors instead of background
  • --directory is to set where the Zeek logs are
  • --filter-conn is to filter all the conn.log lines which UID is in other Zeek file. Therefore, if a flow produced other log appart from the conn.log, then the conn.log one is ignored. This is good if you want to know which conn.log lines do not have a recognizable protocol and are interesting to see.

How it looks like

image

With --filter-conn image

Without --foreground image

About

This tool was developed at the Stratosphere Laboratory at the Czech Technical University in Prague by Sebastian Garcia, sebastian.garcia@agents.fel.cvut.cz

About

A python tool to see ordered zeek log files with colors in the terminal, like termshark.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages