Spring Reactive Logging using Zalando Logbook and Elastic Stack
8 min readSep 9, 2024
Hello everyone! This story will show how to centralize Spring WebFlux logging using the Elastic Stack.
· Prerequisites
· Overview
∘ What is Elastic Stack?
∘ Why use Elastic Stack?
∘ What is Zalando Logbook?
· Coding
∘ Project Setup
∘ Setup of logbook
∘ Testing
∘ Logback integration
· Conclusion
· References
Prerequisites
This is the list of all the prerequisites:
- Spring Boot / WebFlux 3+
- Maven 3.+
- Java 17+
- Your favorite IDE (IntelliJ IDEA, Eclipse, NetBeans, VS Code)
- Docker and Docker compose installed
- Postman
Overview
What is Elastic Stack?
The Elastic Stack is a group of Open Source products from Elastic designed to help users take data from any type of source and in any format, and search, analyze, and visualize that data in real time. The…