mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 17:30:42 +01:00
Documentation for new imkmsg module
new file: doc/imkmsg.html
This commit is contained in:
parent
432934b3dd
commit
c8fc40bf33
48
doc/imkmsg.html
Normal file
48
doc/imkmsg.html
Normal file
@ -0,0 +1,48 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Language" content="en"><title>/dev/kmsg Log Input Module (imkmsg)</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<a href="rsyslog_conf_modules.html">back</a>
|
||||
|
||||
<h1>/dev/kmsg Log Input Module</h1>
|
||||
<p><b>Module Name: imkmsg</b></p>
|
||||
<p><b>Authors: </b>Rainer Gerhards
|
||||
<rgerhards@adiscon.com><br />
|
||||
Milan Bartos
|
||||
<mbartos@redhat.com></p>
|
||||
<p><b>Description</b>:</p>
|
||||
<p>Reads messages from the /dev/kmsg structured kernel log and submits them to the
|
||||
syslog engine.</p>
|
||||
<p>
|
||||
The printk log buffer constains log records. These records are exported by /dev/kmsg
|
||||
device as structured data in the following format:<br />
|
||||
"level,sequnum,timestamp;<message text>\n"<br />
|
||||
There could be continuation lines starting with space that contains key/value pairs.<br />
|
||||
<br />
|
||||
Log messages are parsed as necessary into rsyslog msg_t structure. Continuation lines are parsed
|
||||
as json key/value pairs and added into rsyslog's message json representation.
|
||||
</p>
|
||||
<p><b>Configuration Directives</b>:</p>
|
||||
This module has no configuration directives.
|
||||
<b>Caveats/Known Bugs:</b>
|
||||
<p>This is Linux specific module and requires /dev/kmsg device with structured kernel logs.
|
||||
<p><b>Sample:</b></p>
|
||||
<p>The following sample pulls messages from the /dev/kmsg log device. All
|
||||
parameters are left by default, which is usually a good idea. Please
|
||||
note that loading the plugin is sufficient to activate it. No directive
|
||||
is needed to start pulling messages.<br>
|
||||
</p>
|
||||
<textarea rows="15" cols="60">$ModLoad imkmsg
|
||||
</textarea>
|
||||
<p>[<a href="rsyslog_conf.html">rsyslog.conf overview</a>]
|
||||
[<a href="manual.html">manual index</a>] [<a href="http://www.rsyslog.com/">rsyslog site</a>]</p>
|
||||
<p><font size="2">This documentation is part of the
|
||||
<a href="http://www.rsyslog.com/">rsyslog</a>
|
||||
project.<br>
|
||||
Copyright © 2008-2009 by <a href="http://www.gerhards.net/rainer">Rainer
|
||||
Gerhards</a> and
|
||||
<a href="http://www.adiscon.com/">Adiscon</a>.
|
||||
Released under the GNU GPL version 3 or higher.</font></p>
|
||||
</body></html>
|
||||
Loading…
x
Reference in New Issue
Block a user