Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 400 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 400 Bytes

nginx-log-parser

Simple script parse nginx access_log. Export to JSONL file.

Requirements

  • Python >= 3.6
  • Install package
pip install -r requirements.txt

Run

1. Single log file

python nginx-log-parser.py access.log.gz

2. Multi log file

Put all gz log file to logs folder

./run.sh

Output will put on access_log.json on root dir