Skip to content

Elastic Search + Logstash + Kibana + Zipkin + Sleuth + Spring Boot

Notifications You must be signed in to change notification settings

mateuszwlosek/elk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ELK (Elasticsearch - Logstash - Kibana) Example

Example of Elasticsearch, Logstash, Kibana with Zipkin, Sleuth and Spring Boot

Used Docker to containerize environment.
MongoDB was used to store some example data.

ELK

ELK

Books service and orders service

  • Two example services to test ELK.
  • Books service requests orders-service so two logs are generated in a matter of one request. Two of them have the same traceId.

How to run the environment?

Before you start

  • Make sure you have Docker and docker-compose installed.

Docker CE INSTALLATION
Docker Compose INSTALLATION

Start the environment

  1. Build services: docker-compose build
  2. Run services: docker-compose up
  3. Request books-sevice to generate logs: curl -X POST -I "localhost:8484/book/buy/The%20Great%20Gatsby?userName=testUserName"

Important endpoints:

Kibana Zipkin