Skip to content

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

License

Notifications You must be signed in to change notification settings

leonaascimento/parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages