Microservice and Containerization Patterns > Utility Patterns > Log Aggregator
Log Aggregator (Erl, Naserpour)
How can logs generated by multiple microservices be regularly collected and stored in a central location?
Problem
Solution
Application
A special aggregator component is utilized to connect to each microservice and read and collect its logs in order to store them in a central repository.
Log Aggregator A retrieves the individual log data and stores it in Log Database A, from which the administrator can access them.
This pattern can be applied in applied in conjunction with the Pre-Defined Data View pattern, as explained in the complete pattern description.