diff options
| author | Brian Knox <briank@talksum.com> | 2012-03-18 13:09:52 +0100 |
|---|---|---|
| committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-18 13:09:52 +0100 |
| commit | 3e008a14bae81d067e422bf2458e5d3628d5c661 (patch) | |
| tree | 690f1f006fca8be656cc34f064e99594a8a4f995 /plugins/ommongodb/README | |
| parent | 488a4a69e3bc6de4a340993525d6eebdcff62ca3 (diff) | |
| download | rsyslog-3e008a14bae81d067e422bf2458e5d3628d5c661.tar.gz rsyslog-3e008a14bae81d067e422bf2458e5d3628d5c661.tar.xz rsyslog-3e008a14bae81d067e422bf2458e5d3628d5c661.zip | |
ommongodb: moved field set a bit towards CEE
Diffstat (limited to 'plugins/ommongodb/README')
| -rw-r--r-- | plugins/ommongodb/README | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/ommongodb/README b/plugins/ommongodb/README index 445e525c..391dfcb9 100644 --- a/plugins/ommongodb/README +++ b/plugins/ommongodb/README @@ -24,10 +24,9 @@ $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 +$template StdMongoDBFmt,"%programname%%HOSTNAME%%timestamp%%pri%%rawmsg%" +*.* action(type="ommongodb" template="StdMongoDBFmt" db="..." collection="...") TODO |
