Skip to content

aryanrai2001/dyte-assignment

Repository files navigation

LinkedIn

Log Ingestor and Query Interface

This was developed as an assignment for Dyte Inc. November Hiring 2023

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact

About The Project

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.

Query Interface

(back to top)

Built With

  • React.js For frontend
  • Express.js For backend
  • FaundaDB For database

(back to top)

Getting Started

Instructions to set up the project

Prerequisites

You need to install Node.js and make sure npm is up to date

  • npm
    npm install npm@latest -g
    

Installation

Follow the instructions below to run the project

  1. Clone the repo
    git clone https://github.com/aryanrai2001/dyte-assignment.git
    
  2. Install NPM packages
    npm install
    
  3. Run
    npm run dev
    

(back to top)

Usage

The logs can be sent in the following format to 'http://localhost:3000'

{
  "level": "error",
  "message": "Failed to connect to DB",
  "resourceId": "server-1234",
  "timestamp": "2023-09-15T08:00:00Z",
  "traceId": "abc-xyz-123",
  "spanId": "span-456",
  "commit": "5e5342f",
  "metadata": {
    "parentResourceId": "server-0987"
  }
}

The the Query Interface Web GUI is also available at 'http://localhost:3000'

Contact

Aryan Rai - @aryanrai2001 - aryanrai3112@gmail.com

Project Link: https://github.com/aryanrai2001/dyte-assignment

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published