Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.47 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.47 KB

parser

Parser is a tool that loads request log files into database and find remote addresses that are making too many requests

Installation

  • Create schema
  • Download parser.jar
  • Extract files from parser.jar
  • Open application.properties and set database url and credentials
  • Compress extracted files to parser.zip
  • Change file extension from .zip to .jar

Usage

The parser accepts the following arguments:

  • accesslog: The access log file path (optional)
  • startDate: The start date of the analysis (required)
  • duration: The time span to be considered (required)
  • threshold: The requests limit of a remote address (required)

Run from command line:

java -cp "parser.jar" com.ef.Parser --accesslog=/path/to/file --startDate=2017-01-01.13:00:00 --duration=hourly --threshold=100

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details