Logging frameworks, such as Log4j, Logback, and SLF4J, provide logging functionality for each microservice application. Now we need a tool that can aggregate all logs coming from multiple microservices to a central location from local virtual machines and running analytics on top of the log messages. This solution must provide the logging to track end-to-end transactions. The centralized logging solution can eliminate dependency on the local disk space and keep logs for a long time for analysis in the future.
According to the centralized logging solution, all log messages must be stored in a central location rather than on each local machine of each microservice. This solution provides a separation of concerns between log storage and the service execution environments. We can use any big data technology, such as HDFS...