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

Microservices with Spring Boot and Spring Cloud - Second Edition

by Magnus Larsson
July 2021
Beginner to intermediate content levelBeginner to intermediate
774 pages
16h 47m
English
Packt Publishing
Content preview from Microservices with Spring Boot and Spring Cloud - Second 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

Hands-On Microservices with Spring Boot and Spring Cloud

Hands-On Microservices with Spring Boot and Spring Cloud

Magnus Larsson

Publisher Resources

ISBN: 9781801072977Supplemental Content