Skip to content

Log Ingestor and query interface made with elastic search, next.js and docker. Easily extensible for horizontal scaling

License

Notifications You must be signed in to change notification settings

Neeraj2212/Elastic-Log-ingestor-and-query-ui

Repository files navigation

About The Project

This project aims to develop a robust Log Ingestor and Query Interface system capable of efficiently handling vast volumes of log data. The Log Ingestor is responsible for ingesting logs over HTTP on port 3000, while the Query Interface provides users with a simple interface for full-text search and specific field filters.

Getting Started

Prerequisites

  • Docker
  • Docker Compose

Running the project

  1. Clone the repository git clone <repo_url>
  2. To Run the project in development mode execute the command docker compose -f docker-compose.yml -f docker-compose.dev.yml up in the root directory of the project. It will start the following services:
    • Log Ingestor (Development mode at port 3000)
    • Query Interface (Development mode at port 5000)
    • Elasticsearch (Three Nodes)
    • Kibana dashboard (at port 5601 for visualizing logs username: elastic, password: elastic_password)
    • NOTE:- Processes might take some time to start up. Please wait for a few minutes before using the services.
  3. To Run the project in production mode execute the command docker compose -f docker-compose.yml -f docker-compose.prod.yml up in the root directory of the project. It will start the following services:
    • Log Ingestor (Production mode at port 3000)
    • Query Interface (Production mode at port 5000)
    • Elasticsearch (Three Nodes)
    • NOTE:- Processes might take some time to start up. Please wait for a few minutes before using the services.

API Documentation

Check the postman collection for API documentation here

To run the postman collection, download the collection from here and import it in postman.

System Design Document

Check the system design document here

License

Distributed under the MIT License. See LICENSE.txt for more information.

About

Log Ingestor and query interface made with elastic search, next.js and docker. Easily extensible for horizontal scaling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published