GithubHelp home page GithubHelp logo

log-injestor's Introduction

##The Log Injestion Project

This project include the following parts as per request in the assingment documnation

  • Ingestion Server That is a node server that listens on Port 3000 for the incoming Logs.
  • Then comes the LogStash Container that injests the logs in the given format and passes them to the storages.
  • Then for storing the logs we are using ElasticSearch for keeping each log as structured document.
  • Then for for Querying UI to query and search specific logs we have Kibana.

Here are Steps for log Ingestion Server to get it start listening for logs:- - npm install - node app.js now we have a logIngestionServer that listens on port 3000 for the incoming logs.

For ElasticSeach and Logstash Containers you just need to run the following command:- - docker-compose up -d

now logstash is running on http://localhost:5000 elasticsearch on http://localhost:9200 Kibana on http://localhost:5601

For Kibana you need to add the index to settings for logs Indexes which can be found at the following: Menu -> Observability -> Logs -> Settings add which ever index you want to add.

Now you can see all the logs stored in the elasticSearch

as shown below:-

Alt text

you can perform Full Text Search

Alt text

you can perform a Filter Query based on any attribute in the log with combinations and also modify date and time ranges

Alt text

Alt text

Also you can use ES Apis to verify data as well as follows:-

curl --location 'localhost:9200/test-index/_search?pretty=null&size=100'
--header 'Content-Type: application/json'

There were lot of scope for improvement like rolebased access, but the major factor was a custom UI although Kibana provides it but I could have created Kibana Plugins and used KPL to create a Dashboard but currently i am working on a Windows laptop and the does not supports windows and requires WSL hence one major improvement can be done here.

Auhtor : Harsh Vardhan.

log-injestor's People

Contributors

harsh07021999 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.