Interview Prep/Monitoring & Observability/Logging: ELK/EFK, Loki & Log Shippers

What does the Fluent Bit Kubernetes filter do?

IntermediateConceptLogging: ELK/EFK, Loki & Log Shippers
Answer

It reads the pod name, namespace and container from the log file name (/var/log/containers/<pod>_<ns>_<container>-<id>.log), queries the Kubernetes API (or kubelet with Use_Kubelet On) for metadata and enriches each record with labels, annotations, node name and pod ID.

Merge_Log On parses JSON log lines into structured fields. Pods can choose their parser or exclude themselves with annotations fluentbit.io/parser and fluentbit.io/exclude.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Logging: ELK/EFK, Loki & Log Shippers