MagIciaNGTAO / http-accesslog-toy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http-accesslog-toy (Python 3)

A simple http access log monitor.

Installation

Install with pip.

pip install tailer

update manually with

track this issue to see whether manual process could be ignored

Usage

Run program with threshold 100 (traffic alert) and log path /private/var/log/apache2/access_log.

python3 log_monitor.py 100 /private/var/log/apache2/access_log

Running Tests

Run tests.

python3 test_log_monitor.py

About


Languages

Language:Python 100.0%