From 01d320300eed5ff27589b27c4ca6fa9ea323fa93 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Dutta Date: Tue, 18 Mar 2025 19:34:59 +0530 Subject: [PATCH] fluent-bit: enable kmsg plugin --- fluent-bit/Makefile | 2 +- fluent-bit/files/fluent-bit.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/fluent-bit/Makefile b/fluent-bit/Makefile index 8f738ccd5..2a7332d58 100644 --- a/fluent-bit/Makefile +++ b/fluent-bit/Makefile @@ -63,8 +63,8 @@ CMAKE_OPTIONS += \ -DFLB_IN_DISK=Yes \ -DFLB_IN_EXEC=Yes \ -DFLB_IN_HEAD=Yes \ + -DFLB_IN_KMSG=Yes \ -DFLB_IN_FORWARD=No \ - -DFLB_IN_KMSG=No \ -DFLB_IN_PROC=No \ -DFLB_IN_RANDOM=No \ -DFLB_IN_SERIAL=No \ diff --git a/fluent-bit/files/fluent-bit.conf b/fluent-bit/files/fluent-bit.conf index 5e934903a..c5cd464e4 100644 --- a/fluent-bit/files/fluent-bit.conf +++ b/fluent-bit/files/fluent-bit.conf @@ -4,6 +4,10 @@ log_level info parsers_file /etc/fluent-bit/parsers.conf +[INPUT] + Name kmsg + Tag kernel + [INPUT] name syslog tag syslog