diff options
Diffstat (limited to 'plugins/ommongodb/README')
-rw-r--r-- | plugins/ommongodb/README | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/ommongodb/README b/plugins/ommongodb/README new file mode 100644 index 00000000..7581131a --- /dev/null +++ b/plugins/ommongodb/README @@ -0,0 +1,25 @@ +plugin to use MongoDB as backend. + +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: + +*.* action(type="ommongodb" db="..." collection="...") + +Note: currently templates are not supported. Ommongodb will pick a default +schema and use the message object content for that (templateless). + + +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 + +part of this doc by Rainer Gerhards <rgerhards@adiscon.com> |