mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 05:00:42 +01:00
57 lines
2.3 KiB
HTML
57 lines
2.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html><head>
|
||
<meta http-equiv="Content-Language" content="en"><title>RELP Output Module (omrelp)</title>
|
||
|
||
</head>
|
||
<body>
|
||
<a href="rsyslog_conf_modules.html">back to rsyslog module documentation</a>
|
||
|
||
<h1>RELP Output Module (omrelp)</h1>
|
||
<p><b>Module Name: omrelp</b></p>
|
||
<p><b>Author: </b>Rainer Gerhards
|
||
<rgerhards@adiscon.com></p>
|
||
<p><b>Description</b>:</p>
|
||
<p>This module supports sending syslog messages over the reliable
|
||
RELP protocol. For RELP's advantages over plain tcp syslog, please see
|
||
the documentation for <a href="imrelp.html">imrelp</a>
|
||
(the server counterpart). </p>
|
||
<span style="font-weight: bold;">Setup</span>
|
||
<p>Please note the <a href="http://www.librelp.com">librelp</a>
|
||
is required for imrelp (it provides the core relp protocol
|
||
implementation).</p>
|
||
<p><b>Configuration Directives</b>:</p>
|
||
<p>This module uses old-style action configuration to keep
|
||
consistent with the forwarding rule. So far, no additional
|
||
configuration directives can be specified. To send a message via RELP,
|
||
use</p>
|
||
<p>*.*
|
||
:omrelp:<sever>:<port>;<template></p>
|
||
<p>just as you use </p>
|
||
<p>*.*
|
||
@@<sever>:<port>;<template></p>
|
||
<p>to forward a message via plain tcp syslog.</p>
|
||
<b>Caveats/Known Bugs:</b>
|
||
<p>See <a href="imrelp.html">imrelp</a>,
|
||
which documents them. </p>
|
||
<p><b>Sample:</b></p>
|
||
<p>The following sample sends all messages to the central server
|
||
"centralserv" at port 2514 (note that that server must run imrelp on
|
||
port 2514). Rsyslog's high-precision timestamp format is used, thus the
|
||
special "RSYSLOG_ForwardFormat" (case sensitive!) template is used.<br>
|
||
</p>
|
||
<textarea rows="15" cols="60">$ModLoad omrelp
|
||
# forward messages to the remote server "myserv" on
|
||
# port 2514
|
||
*.* :omrelp:centralserv:2514;RSYSLOG_ForwardFormat
|
||
</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 <20> 2008 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>
|