Centralized Logging Patterns

A presentation at DevOpsDays Riga 2018 in in Riga, Latvia by Philipp Krenn

"Do you also feel need to centralize logs? Choose one of the approaches and patterns that suits you the best. I will talk about parsing, sending, structuring, containerizing and orchestrating. Each pattern has its own demo, so you can easily try out the different approaches in your environment," Philipp Krenn from Vienna, Austria introduces with his talk. He is part of the infrastructure team and a developer advocate at Elastic. Additionally, Philipp is organizing multiple meetups in Vienna.

Video

Resources

The following resources were mentioned during the presentation or are useful additional information.

  • GitHub: Demo Code

    How to log from a Java application to the Elastic Stack. This repository gives an overview of five different logging patterns:

    • Parse: Take the log files of your applications and extract the relevant pieces of information.
    • Send: Add a log appender to send out your events directly without persisting them to a log file.
    • Structure: Write your events in a structured file, which you can then centralize.
    • Containerize: Keep track of short lived containers and configure their logging correctly.
    • Orchestrate: Stay on top of your logs even when services are short lived and dynamically allocated on Kubernetes.