Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Lynks/omrabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omrabbitmq

RabbitMQ output plugin for rsyslog v8

Quick start

Setup

Create a settings.yml file in the same directory as the omrabbitmq.rb file. See settings.yml.sample as an example. See http://rubybunny.info/articles/connecting.html#using_connection_strings on formatting the connection string to your RabbitMQ instance

Using with rsyslog

Create a .config file in /etc/rsyslog.d/ with the following:

module(load="omprog")

action(type="omprog"
	binary="ruby omrabbitmq.rb"
	template="RSYSLOG_TraditionalFileFormat")

Standalone

gem install bunny
ruby omrabbitmq.rb

ctrl+D to stop accepting messages

Releases

No releases published

Packages

No packages published

Languages