Skip to content

This is a simple application that parses Apache log files through filters, and displays it on a UI.

Notifications You must be signed in to change notification settings

taaalha/Apache-logs-parser-using-Flask-and-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache logs parser: Web GUI/UI to extract logs | Made with Flask, Python3

This is a simple application that parses Apache log files through filters, and displays it on a UI.

A user can upload any .txt log file. The parser would extract all the available ip's from the file, count the number of times that ip is repeated in the logs, and display that number alongside the ip on a simple UI.

A sample log file is included with the code. It is recommended to use that for testing purposes.

Usage

  1. Ensure pip and pipenv are installed.
  2. Clone repository.
  3. cd into repository.
  4. Activate virtualenv: pipenv shell
  5. Download flask: pip install flask
  6. Run python3 parser_app.py
  7. Go to the displayed local host address to access the application
./screenshots/app_running.PNG

Screenshots

./screenshots/main_screen.PNG

./screenshots/logs.PNG

./screenshots/working.PNG

About

This is a simple application that parses Apache log files through filters, and displays it on a UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published