/elasticLogger

Simple django project sends logs to Elastic search using Logstash

Primary LanguagePython

elasticLogger

Simple django project sends logs to Elastic search using Logstash. It simply is an API to add/update/delete/list code snippets. It sends logs to Elastic search.

Programming Language and Libraries

  • python 2.

  • django.

  • django rest framework.

  • python-logstash.

Prerequisites

What things you need to install the software and how to install them on Linux os.

sudo apt-get install python-pip
  • virtual env
sudo pip install virtualenv

Installing

A step by step series of examples that tell you how to get a development env running

  • Clone the project.

  • Run this command inside project directory

virtualenv env
  • Activate the env and install the requirements
source env/bin/activate

pip install -r requirements.txt
  • Start the server
python elasticLogger/manage.py runserver
  • Open another terminal and Run
docker-compose up