Kernel Logs
The kmsg input plugin reads the Linux Kernel log buffer from the beginning. It gets every record and parses fields as priority
, sequence
, seconds
, useconds
, and message
.
Configuration parameters
Prio_Level
The log level to filter. The kernel log is dropped if its priority is more than prio_level
. Allowed values are 0
-8
. 8
means all logs are saved.
8
Threaded
false
Get started
To start getting the Linux Kernel messages, you can run the plugin from the command line or through the configuration file:
Command line
Which returns output similar to:
As described previously, the plugin processed all messages that the Linux Kernel reported. The output has been truncated for clarification.
Configuration file
In your main configuration file append the following Input
and Output
sections:
Last updated
Was this helpful?