Kuber144 / log_ingestor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log Ingestor and Query Interface

Table of Contents
  1. Built With
  2. Getting Started
  3. Usage
  4. License

Built With

  • Node.js
  • Express.js
  • MongoDB
  • Frontend: HTML, CSS, JavaScript

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

First Clone the repository: -

  • Git Bash
    git clone {Git Repository Link}
    Then navigate inside the folder and run npm install
  • npm
    npm install

Run the App

  1. To run the app just open a terminal and use the following command: -

    node app.js
  2. You can populate the backend with logs using the provided the ingest_logs.ps1 file. To do this, simply open git bash and run the following command: -

    powershell -ExecutionPolicy RemoteSigned -File ingest_logs.ps1
  3. Run the query interface: While the app.js is running, open the index.html and the query interface should run

    Double click the index.html

(back to top)

Usage

The Query Interface serves as a user-friendly portal for searching and retrieving specific log entries within the Log Ingestor system. Users can input search criteria such as log level, message content, resource ID, timestamp, trace ID, span ID, commit, and metadata (parent resource ID). The interface efficiently processes these queries and provides a streamlined display of matching log entries, allowing users to quickly assess and analyze relevant information. Logo Log search interface example
Logo Log search interface when searching

(back to top)

License

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

(back to top)

log_ingestor

log_ingestor

About

License:MIT License


Languages

Language:HTML 54.5%Language:JavaScript 37.2%Language:PowerShell 8.3%