Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (9 loc) · 538 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 538 Bytes

apache-log-to-csv

Small tool to convert Apache log files to csv.

I'm using apache-log-parser, you may need to install it.

Tested with Python 2.7.6

Usage

apache-log-to-csv.py [-h] [-v] format input output
  • Format: Apache log format. Example: "%h %u %t \"%r\" %>s %O"
  • Input: Path to the Apache log file. Example: /var/log/apache/access.log
  • Output: Desired output path for the csv file. Example: ~/access.csv