https://github.com/whardier/torelp
Tornado based RELP server
https://github.com/whardier/torelp
Last synced: 3 months ago
JSON representation
Tornado based RELP server
- Host: GitHub
- URL: https://github.com/whardier/torelp
- Owner: whardier
- Created: 2012-11-05T20:54:01.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-06T00:43:13.000Z (over 12 years ago)
- Last Synced: 2025-01-29T05:25:39.284Z (5 months ago)
- Language: Python
- Homepage:
- Size: 145 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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