From bc041faf04ff4caf5d439399a58e48696f3632f1 Mon Sep 17 00:00:00 2001 From: Mohd Husaam Mehdi Date: Fri, 4 Jul 2025 15:33:09 +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 1c1e11e93..1590518b1 100644 --- a/fluent-bit/Makefile +++ b/fluent-bit/Makefile @@ -65,9 +65,9 @@ CMAKE_OPTIONS += \ -DFLB_IN_DISK=Yes \ -DFLB_IN_EXEC=Yes \ -DFLB_IN_HEAD=Yes \ + -DFLB_IN_KMSG=Yes \ -DFLB_IN_TAIL=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..91b4a527a 100644 --- a/fluent-bit/files/fluent-bit.conf +++ b/fluent-bit/files/fluent-bit.conf @@ -9,6 +9,10 @@ tag syslog path /dev/log +[INPUT] + name kmsg + tag kernel + [OUTPUT] name null match *