The premise of this project is to create logs through a custom database in which the logs will then be forwarded to Splunk for further analysis. The final report will be linked in the References section.
The tools used here are the following:
- Splunk
- Splunk Universal Forwarder
- Oracle VM VirtualBox
- Windows 10 ISO
- Flask
- SQLAlchemy
- Python
- Created a web application that will accept user input and store it in the backend DB.
- Recorded HTTP server and DB logs the application creates by using Flask.
- Forwarded it to Splunk by using the Splunk Universal Forwarder.
- Ran a search in Splunk to show the application (web and DB) data forwarded from host pc.
- Learned how to connect Flask to a database with Flask-SQLAlchemy.
- Learned how to create simple web application using HyperText Markup Language (HTML).
- Learned how to log applications using Flask.
- Learned how to configure, format and test a Flask logger.
- Learned how to search Splunk using source, host and sourcetype.