Skip to content

Linch-JG/Distributed-Log-Analysis-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed-Log-Analysis-Framework

Modern distributed systems generate large amounts of log data from various sources, making effective analysis essential for monitoring, security, and optimization. This project introduces a custom distributed log analysis framework based on the MapReduce paradigm, allowing scalable log processing and aggregation across multiple nodes. Our system extracts key data such as the most active IP addresses and endpoints using a microservices architecture, consisting of a Java Spring Boot API gateway, Go-based analyzer, MongoDB, and a reliable messaging pipeline using RabbitMQ. The framework has been tested using generated logs that are similar to those found in the real world, and it provides an interactive dashboard. The dashboard focuses on extracting the most active IP addresses or endpoints from server logs. This allows organizations to gain valuable insights from their distributed system's data.

Getting Started

Prerequisites

  • Docker and Docker Compose
  • Git

Step 1: Clone the Repository

git clone https://github.com/yourusername/Distributed-Log-Analysis-Framework.git
cd Distributed-Log-Analysis-Framework

Step 2: Start the Services

Navigate to the docker directory and start all services:

cd docker
docker-compose up -d --build

Step 3: Verify Services

Check that all containers are running:

docker ps

Step 4: Access Web Interfaces

Frontend Web UI

Gateway API

Mongo-Express (MongoDB Web UI)

MongoDB

  • Port: 27018
  • Login: admin
  • Password: admin

RabbitMQ Management UI

Test Servers

Consistency Validator

Performance Analyzer

Prometheus (Monitoring)

Grafana (Dashboards)

Step 5: Stopping the Services

When you're done, you can stop all services with:

docker compose down -v

For more detailed information about specific components, refer to the documentation section below.

Documentation

Access to services

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5