Skip to Content
Microservices with Spring Boot 3 and Spring Cloud - Third Edition
book

Microservices with Spring Boot 3 and Spring Cloud - Third Edition

by Magnus Larsson
August 2023
Beginner to intermediate
706 pages
17h 34m
English
Packt Publishing
Content preview from Microservices with Spring Boot 3 and Spring Cloud - Third Edition

19

Centralized Logging with the EFK Stack

In this chapter, we will learn how to collect and store log records from microservice instances, as well as how to search and analyze log records. As we mentioned in Chapter 1, Introduction to Microservices, it is difficult to get an overview of what is going on in a system landscape of microservices when each microservice instance writes log records to its local filesystem. We need a component that can collect the log records from the microservice’s local filesystem and store them in a central database for analysis, search, and visualization. A popular open-source-based solution for this is based on the following tools:

  • Elasticsearch, a distributed database with great capabilities for searching and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Master Microservices with Spring Boot and Spring Cloud

Master Microservices with Spring Boot and Spring Cloud

In28Minutes Official

Publisher Resources

ISBN: 9781805128694Supplemental Content