Hi, I'm trying to get the <Kernel logs> INPUT work...
# fluent-bit
a
Hi, I'm trying to get the Kernel logs INPUT working in fluent-bit
3.2.10
running on Talos Linux: I've added
privileged: true
to the DaemonSet and added the following to my pipeline (which currently outputs to a loki endpoint):
Copy code
[INPUT]
          Name  kmsg
          Tag   kernel
      # Add a `source` label of `kernel` to help search for the generated logs.
      [FILTER]
          Name record_modifier
          Match kernel
          Record source kernel
However I still don't see any kernel logs coming through. The fluent-bit Pod starts up with:
Copy code
[2025/06/10 08:25:06] [ info] [input:kmsg:kmsg.0] initializing
[2025/06/10 08:25:06] [ info] [input:kmsg:kmsg.0] storage_strategy='memory' (memory only)
If I run a debug pod on one of these nodes I'm able to read
/dev/kmsg
using
more
. Anyone have any ideas why the logs wouldn't come through? Or how to debug this? 🙏
Ah, I hadn't configured my OUTPUTS correctly 🤦‍♂️ It's working now.
p
Lol we've all done it