mongod db backend to rsyslogd
C Other Makefile Shell C++
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
.deps
autom4te.cache
contrib
doc first release Jan 5, 2011
freebsd
java
m4 first release Jan 5, 2011
nbproject first release Jan 5, 2011
plugins first release Jan 5, 2011
runtime
slackware first release Jan 5, 2011
tests
tools first release Jan 5, 2011
AUTHORS
COPYING first release Jan 5, 2011
COPYING.LESSER
ChangeLog
INSTALL first release Jan 5, 2011
Makefile
Makefile-rsyslog-5.6.2.mk
Makefile.am first release Jan 5, 2011
Makefile.in first release Jan 5, 2011
NEWS
README.md Update and rename README to README.md Jul 18, 2015
README.orig first release Jan 5, 2011
aclocal.m4 first release Jan 5, 2011
action.c first release Jan 5, 2011
action.h
compile
config.guess first release Jan 5, 2011
config.h
config.h.in
config.log
config.status first release Jan 5, 2011
config.sub first release Jan 5, 2011
configure first release Jan 5, 2011
configure.ac
depcomp first release Jan 5, 2011
dirty.h
gss-misc.c
gss-misc.h
install-sh first release Jan 5, 2011
libtool
ltmain.sh
missing
outchannel.c
outchannel.h
parse.c first release Jan 5, 2011
parse.h
rsyslog.conf
stamp-h1 first release Jan 5, 2011
tcpclt.c
tcpclt.h
tcps_sess.c
tcps_sess.h first release Jan 5, 2011
tcpsrv.c first release Jan 5, 2011
tcpsrv.h
template.c
template.h
threads.c
threads.h

README.md

plugin to use MongoDB as backend.

Status: unmaintained: code was already pushed upstream.

tested in ubuntu 10.04 and ubuntu 10.10

configuration:

in your /etc/rsyslog.conf, together with other modules: $ModLoad ommongodb # provides mongodb support

then in your /etc/rsyslog.d (check your distribution way to organize the configuration..) you create a file 10-mongodb.conf with the following content:

#the format for the driver is :ommongodb:ip:db:collection;StdMongoDBFmt #if you want to change what is logged in the db, the template, you must change the source code since the keys are hardcoded $template StdMongoDBFmt,"%msg%%syslogfacility%%HOSTNAME%%syslogpriority%" . :ommongodb:127.0.0.1,syslog,logs;StdMongoDBFmt

TODO we must ensure that the collection is a capped collection refactor my code :-)

email Victor Pereira victor.pereira@bigrails.com twitter twitter.com/vpereira