common-log-parser

Parse HTTP Common Log format file for top visited urls, top ips and number of uniq ips


Keywords
http, common-format, log, parsing
License
MIT
Install
pip install common-log-parser==1.0.2

Documentation

HTTP/Common Log Format log parser

Installs log_parser for parsing apache common log format and report unique ip address, top n uri requested, and top n most active ip addresses.

Installation

Install using pip3.

Requirements

python v3.2

pip3

  pip install common-log-parser

Usage/Examples

usage: log_parser [-h] [-t top] [-v] filename

Parse log file

positional arguments:
  filename

optional arguments:
  -h, --help         show this help message and exit
  -t top, --top top  get top n ips and urls
  -v                 verbose mode

Assumptions

Author

License

MIT