Central log management
Log files are a good piece of information for analysis and debugging. Since each microservice is deployed independently, they emit separate logs, may be to a local disk. This will result in fragmented logs. When we scale services across multiple machines, each service instance could produce separate log files. This makes it extremely difficult to debug and understand the behavior of the services through log mining.
If we consider Order, Delivery, and Notification as three different microservices, we will find no way to correlate a customer transaction that runs across order processing, delivery, and notification.
When implementing microservices, we need a capability to ship logs from each services to a centrally-managed ...
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.
Read now
Unlock full access