Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shane R. Spencer
committed
Nov 6, 2012
1 parent
979e0bc
commit 874d590
Showing
1 changed file
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
ToRELP | ||
====== | ||
|
||
Tornado based RELP server | ||
|
||
Setup | ||
===== | ||
|
||
The test script uses port 20514 | ||
|
||
On rsyslog we want to put the following in place: | ||
|
||
``` | ||
$ModLoad omrelp | ||
|
||
$WorkDirectory /var/spool/rsyslog # default location for work (spool) files | ||
|
||
$ActionQueueType LinkedList # use asynchronous processing | ||
$ActionQueueFileName localhost # set file name, also enables disk mode | ||
$ActionResumeInterval 1 # infinite retries on insert failure | ||
$ActionResumeRetryCount -1 # infinite retries on insert failure | ||
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down | ||
|
||
*.* :omrelp:localhost:20514;RSYSLOG_ForwardFormat | ||
``` | ||
|
||
Why? | ||
==== | ||
|
||
New cool message queue using reliable messaging services that is simple to configure | ||
|
||
How? | ||
==== | ||
|
||
Check out ```test.py```. Just inherit the ToRELPServer class and override the class method ```handle_syslog_message```. | ||
|
||
Todo | ||
==== | ||
|
||
Add URL style dispatcher | ||
Add datetime parser | ||
Add new inbound formats | ||
Add plain TCP syslog support |