Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tornado based RELP server
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
torelp
.gitignore
README
README.md
setup.py
test.py

README.md

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

Something went wrong with that request. Please try again.