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.
- Ensure
pipandpipenvare installed. - Clone repository.
- cd into repository.
- Activate virtualenv:
pipenv shell - Download flask:
pip install flask - Run
python3 parser_app.py - Go to the displayed local host address to access the application