Developed a log ingestor system that can efficiently handle vast volumes of log data, and offer a simple interface for querying this data using full-text search or specific field filters.
Both the systems (the log ingestor and the query interface) has been built using flask , HTML , CSS & Javascript.
I am using firebase realtime database for storing the logs and provided the credendials for your use. If you want to use your own credendials then get the cred from firebase. Visit firebase console. Make sure you are creating project for web.
Here are some steps to run this project:
- Clone the project ( open new terminal on your VSCode)
git clone https://github.com/Ashutosh-aditya/chat-360-task
- Make Virtual Environment for this project (optional)
python -m venv venv
- Start Virtual Environment (if setup virtual enviroment)
venv/Scripts/activate
- Install dependencies
pip install -r requirements.txt
- Run the project
python main.py
- Open localhost in browser
http://localhost:3000/
- To Populate the logs
http://localhost:3000/
- To filter logs
http://localhost:3000/get_logs
- To filter Multiple logs
http://localhost:3000/multiple_log_query