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.
More on Logging: ELK/EFK, Loki & Log Shippers
What is the ELK stack, and what is EFK?BeginnerHow does Elasticsearch store and search logs?IntermediateWhat is ILM (Index Lifecycle Management) and why do log clusters need it?IntermediateWhat is an Elasticsearch data stream?AdvancedWhat is an index template and mapping, and what is a mapping explosion?AdvancedWhat does Logstash do compared with Beats?Intermediate