Skip to content

a simple python script to generate zeek logs for all pcaps inside a directory in parallel

Notifications You must be signed in to change notification settings

Yohane-nlm/pcap2zeeklog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Description

This script is used to extract Zeek log files from all pcap files inside a directory. The script will create a directory called zeeklog in the current directory and store the log files in it. The script utilizes multiprocessing to process the pcap files in parallel and each pcap file will have its own directory to store its own log files.

Usage

python get_zeeklog.py -P <path> -N <process_num> [-S <script>]

Arguments

-P, --path: The absolute path to the directory containing pcap files.

-N, --process_num: The number of processes to use for parallel processing.

-S, --script: The absolute path to the zeek script. (optional)

Example

python get_zeeklog.py -P /path/to/pcap/files -N 4 -S /path/to/zeek/script

About

a simple python script to generate zeek logs for all pcaps inside a directory in parallel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages