An open API service indexing awesome lists of open source software.

https://github.com/stratosphereips/zeek-term

A python tool to see ordered zeek log files with colors in the terminal, like termshark.
https://github.com/stratosphereips/zeek-term

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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
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