niyiomotoso / webServerLogParser

A Java parser that parses web server access log file, loads the log to MySQL and checks if a given IP makes more than a certain number of requests for the given duration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Java Parser library in that parses web server access log file, loads the log to MySQL and checks if a given IP makes more than a certain number of requests for the given duration.

SAMPLE COMMAND


From project parent directory, enter:

cd out/artifacts/parser_jar

java -cp "parser.jar" Parser --accesslog="access.log" --startDate=2017-01-01.13:00:00 --duration=hourly --threshold=100

About

A Java parser that parses web server access log file, loads the log to MySQL and checks if a given IP makes more than a certain number of requests for the given duration


Languages

Language:Java 87.5%Language:TSQL 12.5%