Package: rsyslog-mongodb
Version: 7.4.3-1
Severity: normal
File: /usr/share/doc/rsyslog-mongodb/README.Debian

Hi there,

this broke for me starting with 7.4.0-1, but I didn't get around to file
a bug any earlier, sorry about that.

While the following excerpt from the mentioned file formerly was
sufficient for dumping logs to mongodb, now something seems amiss:

| After this, you need to make some adjustments to rsyslog.conf or better
| use a separate config file like /etc/rsyslog.d/mongodb.conf which will
| be included by the main config file.
| You need to load the module of course and configure an action:
| 
|  module (load="ommongodb")
|  *.* action(type="ommongodb" server="127.0.0.1")

mongodb-server and mongodb-clients are still installed locally, but when
starting rsyslog with such a configuration in
/etc/rsyslog.d/mongodb.conf I receive
| Aug 29 21:14:07 fernst rsyslogd: [origin software="rsyslogd" 
swVersion="7.4.3" x-pid="17788" x-info="http://www.rsyslog.com";] start
| Aug 29 21:14:07 fernst rsyslogd-2207: error during parsing file 
/etc/rsyslog.d/mongodb.conf, on or before line 2: parameter 'template' required 
but not specified - fix config [try http://www.rsyslog.com/e/2207 ]
| Aug 29 21:14:07 fernst rsyslogd-2207: error during parsing file 
/etc/rsyslog.d/mongodb.conf, on or before line 2: errors occured in file 
'/etc/rsyslog.d/mongodb.conf' around line 2 [try http://www.rsyslog.com/e/2207 ]

When using the template from
http://www.rsyslog.com/doc/rsyslog_conf_modules.html/ommongodb.html
(modulo the rfc3339 parts) I can dump data to mongodb again, though the
format doesn't match previous entries.

In conclusion, the instruction from README.Debian don't seem to work at
all. But rsyslog-mongodb seems to work in principle.

Best regards,
Flo

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsyslog-mongodb depends on:
ii  libc6             2.17-92
ii  libmongo-client0  0.1.6.2-1
ii  rsyslog           7.4.3-1

Versions of packages rsyslog-mongodb recommends:
ii  mongodb-server  1:2.4.5-1

rsyslog-mongodb suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to