Table of Contents
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.
- React.js For frontend
- Express.js For backend
- FaundaDB For database
Instructions to set up the project
You need to install Node.js and make sure npm is up to date
- npm
npm install npm@latest -g
Follow the instructions below to run the project
- Clone the repo
git clone https://github.com/aryanrai2001/dyte-assignment.git
- Install NPM packages
npm install
- Run
npm run dev
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'
Aryan Rai - @aryanrai2001 - aryanrai3112@gmail.com
Project Link: https://github.com/aryanrai2001/dyte-assignment