Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.11 KB

File metadata and controls

32 lines (22 loc) · 1.11 KB

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