This Repo contains the Backend API used in the Twiiter App for HackFSE1 Accreditation Prog for Python Domain.
COMMANDS:
git clone https://github.com/shivamminus/tweet-app.git
pip install virtualenv
cd tweet-app
virtualenv venv
.\venv\bin\activate
pip install -r requirements.txt
python backend\app.py
Once the Server is up, Note the directory of the log file generated.
For Prometheus, Visit localhost:9090/prometheus
Now to integrate the ELK Stack
Extract the 3 zips i.e.
- elasticsearch-8.2.0-windows-x86_64.zip
- kibana-8.2.0-windows-x86_64.zip
- logstash-8.2.0-windows-x86_64.zip
- Go to elastic search bin directory and run the elasticsearch.bat file
- For Kibana, first uncomment the host line in the config file for Kibana
- For Logstash, make similar changes for the path file in the config folder.
For Reference: Logstash Config