/apache-log-to-csv

Small tool to convert Apache log files to csv

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

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