Centralized Logging and Monitoring with Kubernetes

Video description

Hands-on guide to logging and monitoring containers at scale

About This Video

  • This video course provides a comprehensive overview of the EFK stack, along with practical advice on how to implement it to observe applications running in Kubernetes
  • Learn how to ship Kubernetes metrics and logs to a centrally managed monitoring and logging platform
  • Gain the knowledge to create powerful and meaningful dashboards in Kibana, and bring application metrics and logs to the surface for developers and stakeholders to visualize more clearly
  • Ultimately, you will learn how to analyze and search through logs stored in Kibana to more effectively debug and troubleshoot applications when problems occur

In Detail

Kubernetes is an open source platform designed to automate deployment, scaling, and operation of application containers. Kubernetes automates various aspects of application development, which is extremely beneficial for enterprises. Centralized logging is crucial for any production-grade infrastructure, especially in a containerized architecture. Since Kubernetes is dynamic and does not store change logs except the recent changes, logging and monitoring is highly imperative for saving pod logs.

In this course, you’ll learn to analyze and locate critical pod log files in your Kubernetes clusters. You’ll create a centralized logging system with a configured EFK (Elasticsearch, Fluentd, and Kibana) stack for Kubernetes. Using a hands-on approach, you’ll follow the entire logging and monitoring process, which actually goes hand-in-hand. In your Kubernetes cluster, you’ll find out that your clusters are working with too many containers and it’s difficult to keep track of each of them.

You’ll learn how to build your centralized logging and send data for monitoring. To set up centralized logging, you’ll establish one logging agent per Kubernetes node to collect all logs of all running containers from disk and transmit them to Elasticsearch. You’ll search for log data, monitor the containers, and also collect metrics using Kibana. You’ll decide how your final log data will be presented. By the end of the course, you’ll be able to use centralized logging and monitoring techniques for debugging purposes to find out reasons for crashes, and trigger alerts if there is a spike in error messages (which can be more efficient than a system health check).


This course is for DevOps engineers, developers, testers, sysadmins, and IT professionals who want to log and monitor containers in their Kubernetes clusters for debugging and other purposes. Prior knowledge of the working of Kubernetes is assumed.

Publisher resources

Download Example Code

Product information

  • Title: Centralized Logging and Monitoring with Kubernetes
  • Author(s): Walter Dolce
  • Release date: May 2019
  • Publisher(s): Packt Publishing
  • ISBN: 9781838558673