Skip to content

A centralized logging system for distributed and microservices based application for aggregated log tracing.

Notifications You must be signed in to change notification settings

SatyaRajAwasth1/Centeralized-Logging-System-with-Kafka-and-ELK

Repository files navigation

Central Service to play with Logs: CentralizedLoggingService

Request creating service: Service1

Service to be called internally for service1: Service2

Steps:

  1. Create docker compose files as per need configs (clone for simplicity...)
demo/
├── elk-docker-compose.yml
├── kafka-docker-compose.yml
└── logstash/
    └── pipeline/
        └── pipeline.conf
  1. Run docker compose files
 docker-compose -f kafka-docker-compose.yml -f elk-docker-compose.yml up -d
image
  1. Start services (service1, service2) (with kafka configs in log4j as kafka configs on compose file)
  • after running hit an API call to endpoint in service1 that hits another service.
  1. Start consuming kafka topics to test; or seek on kibana dashboard

    image

About

A centralized logging system for distributed and microservices based application for aggregated log tracing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages