The Logging Operator: Declarative Logging Pipelines for Kubernetes cover

Technology · Ebook

The Logging Operator: Declarative Logging Pipelines for Kubernetes

by Shriira Press

4.8(306)144 pagesPublished 2026

Logs are the first thing you reach for when something breaks, and the hardest thing to manage on Kubernetes, where pods come and go and log files scatter across nodes. The Logging Operator, a CNCF Sandbox project from the kube-logging community, replaces hand-rolled config with Kubernetes custom resources: you declare what to collect, how to filter it, and where it goes, and the operator deploys Fluent Bit collectors and Fluentd or syslog-ng forwarders to match. This book covers the full system, from the Logging and FluentbitAgent resources that define your infrastructure to the Flow and Output resources that route logs, plus multi-tenancy, buffering, TLS, and where it fits in the observability ecosystem.

Contents

  1. 1Preface
  2. 2Chapter 1 — The Logging Problem on Kubernetes
  3. 3Chapter 2 — Architecture: Collectors, Forwarders, and Outputs
  4. 4Chapter 3 — The Logging Resource
  5. 5Chapter 4 — Collecting Logs with Fluent Bit
  6. 6Chapter 5 — Routing with Flows and Outputs
  7. 7Chapter 6 — Forwarders: Fluentd and syslog-ng
  8. 8Chapter 7 — Multi-Tenancy, Reliability, and Security
  9. 9Chapter 8 — The Logging Operator in Practice